HTML5 Canvas Simple Easings with KineticJS

To create a non linear easing tween with KineticJS, we can set the easing property to an easing function.  Other than Kinetic.Easings.Linear, the other most common easings are Kinetic.Easings.EaseIn, Kinetic.Easings.EaseInOut, and Kinetic.Easings.EaseOut.

Instructions: Mouseover or touchstart the boxes to tween them with different easing functions

Open in new window

Code Editor

Modified on May 11th, 2013 by Eric Rowell
comments powered by Disqus