Easing Cookbook

Easing functions are used to transform the linear passing of time to a function with some property. For example a smoother progression by accelerating and decelerating. They are often used to make movement more realistic.

All functions on this page receive an parameter t, which is the current progress from zero to one and return the progress from zero to one. Some functions have additional parameters to modify the resulting curve.

You can edit the topmost function and plot your own javascript code.

see also StackOverflow for more information.