开发者

jquery easing graphs

开发者_高级运维Just found the illustration (graphical) of jQuery Easing plugin http://james.padolsey.com/demos/jquery/easing/

What does these graphs exactly represent.

I tried to work/analyze the Easing Plugin several times, but I never understand how it really functions

Can someone explain me how to figure it out


Think of it this way...

  • The bottom left corner of the box is the starting point of the animation.
  • The right side is the end point of the animation. The higher up, the further from the starting point.
  • The length of the bottom (or top) displays how much of the total animation time has passed.
  • The easing function determines how to animate the element within the distance over the set amount of animation time between the two points, or rate which is distance/time.

So, if you see a horizontal line plotted or a curve approach a horizontal line, then there won't be any animation (or minimal) as the distance hasn't changed over time.

And the steeper the line (up or down), the faster the element is moving across the distance.


It's the initial velocity, middle velocity and final velocity of an animation.


Read the paragraph - it explains what the graphs represent.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜