kangax/fabric.js — pull request #155 by balthazar (2012-04-24 21:06:49+00:00)
Title: Easing functions

Hey guys, during one of my projects I noticed the tween code was a little rudimentary and lacked the ability to use most common tweening equations, so I expanded upon that code a bit and adapted the functions to fabric.js

I've run your website's tests with the new functions and they seem to work fine. Let me know if you need more work on it.

Included easing equations are:

* Quad (In, Out, InOut)
* Cubic (In, Out, InOut)
* Quart (In, Out, InOut)
* Quint (In, Out, InOut)
* Sine (In, Out, InOut)
* Expo (In, Out, InOut)
* Circ (In, Out, InOut)
* Elastic (In, Out, InOut)
* Back (In, Out, InOut)
* Bounce (In, Out, InOut)