Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

easing/inertia #29

Open
dharmaone opened this issue Jul 24, 2012 · 1 comment
Open

easing/inertia #29

dharmaone opened this issue Jul 24, 2012 · 1 comment

Comments

@dharmaone
Copy link

How could I add easing or inertia to the movement so that there is a slight easing after the mouse/accelerometer movement ends, and the movement doesn't just stop?

like this in Flash:

http://www.kirupa.com/developer/mx/followease.htm

@cameronmcefee
Copy link
Owner

This currently isn't supported in plax. It's doable, but you'd need to hack up plax and add the easing yourself. The real trick is how you do it. Since plax is based on mouse position, to actually ever see the ease, you'd have to wait for the mouse to come to a complete stop, an event that I don't think happens all that often.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants