jQuery easing function — variables' comprehension
How does the easing function for jQuery work? Take for example: easeInQuad = function (x, t, b, c, d) { return c*(t/=d)*t + b; }; How does that work? What does each parameter hold? How would I implement some dumb easing for an animation? Also how would I attach an easing pattern to jQuery, is loading it into $.easing good enough? According to the jQuery 1.6.2 source, the meaning of the easing function is as follows. The function is called at various points in time during the animation. At the instants it is called, x and t both say what the time is now, relative to the start of the animation.