This page is work-in-progress. You can reach me on twitter or mail to rezoner1337@gmail.com

Human readable easing notation

API

Also available as a separate library on github

If you need to perform manual easing rather than use built-in tween engine this is a one liner to cover all your needs:

var value = this.ease(progress, easing);

progress is progress from 0.0 to 1.0

Usually progress will be a ratio of elapsed time to duration.

var value = this.ease(elapsed / duration, "inOutBounce");

medusa.height = 16 + value * 32;

Authors

Ask question:

Fork me on GitHub