I saw this link:
Easing Equations
or
Robert Penner Easing Equations
and was trying to get the quadratic ease out to work but couldn't figure out a certain section of code marked in bold :
// quadratic easing out - decelerating to zero velocity
Math.easeOutQuad = function (t, b, c, d) {
return -c *(t/=d)*(t-2) + b;
};
How do I translate 't/=d' to C2? I'm basically using trying to move a ball across the screen that eases out to zero velocity.
[Edit] I changed the title from 'Quadratic Easing' to 'Various ease in / ease out through functions'. While I was looking for a single form of ease out, the mighty Yann returned many types of ease ins/outs via functions with an excellent capx example file.