easing/inertia #29

dharmaone opened this Issue Jul 24, 2012 · 1 comment

2 participants


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:



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