|
|
// simple linear tweening - no easing, no acceleration
Math.linearTween = function (t, b, c, d) return c*t/d + b ; ;
// quadratic easing in - accelerating from zero velocity
Math.easeInQuad = function (t, b, c, d) t /= d ; return c*t*t + b ; ;
// quadratic easing out - decelerating to zero (...)
|