Use tween.dynamic() to make a div follow the mouse smoothly ? #653
Unanswered
optimus007
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@optimus007 Hello, sorry for such a late reply. I see both examples, but I'm not ure what you'd want to do differently. Do you still need help or did you figure it out already? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tween.js fiddle https://jsfiddle.net/sdwyv249/7/
the example i want to emulate https://codepen.io/GreenSock/pen/WNNNBpo
the manual way would have been to make the div follow the mouse with a factor + timeDelta in the request animation frame loop
was wondering if it was possible to do the same with the new
dynamic
somehow ?Beta Was this translation helpful? Give feedback.
All reactions