SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Easing functions.
Sigmoid functions based upon work by Emmanuel Pietriga. wobble and spring come from, or are loosely based on Scriptaculous.
Animation is a Template that passes a position to its run( pos )
method. (you implement run).
anim.Transitions
contains effects for speed/timing, such as acceleration and easing.
b = new APE.anim.Animation( "blah" ); b.run = function(position) { // <-- you implement run. }; b.start(); // <-- then call start.
Constructor Summary | |
---|---|
APE.anim.Transitions()
|
|
APE.anim.Transitions()
|
Method Summary | |
---|---|
|
accel(pos)
undocumented |
|
decel(pos)
undocumented |
|
easeInEaseOut(pos)
Adapted from paper by Corey McCaffree: http://dspace.mit.edu/bitstream/1721.1/36904/1/80770344.pdf |
|
loop(pos)
Plays the APE.anim forwards and backwards in the same duration. |
|
none(pos)
undocumented |
|
reverse(pos)
For better performance, use (1-position) instead. |
|
reverseWarp(pos)
undocumented |
|
sigmoid(pos, steepness)
Sigmoid functions based upon work by Emmanuel Pietriga. |
|
sigmoid2(pos)
undocumented |
|
sigmoid3(pos)
undocumented |
|
sigmoid4(pos)
undocumented |
|
spring(pos)
undocumented |
|
swingTo(pos)
Based on Easing Equations v2.0 (c) 2003 Robert Penner, all rights reserved. |
|
swingToFrom(pos)
undocumented |
|
tan(pos)
undocumented |
|
toString()
undocumented |
|
wobble(pos)
wobble, loop, and spring come from, or are based on Scriptaculous. |
Constructor Detail |
---|
APE.anim.Transitions()
APE.anim.Transitions()
Method Detail |
---|
accel(pos)
pos
decel(pos)
pos
easeInEaseOut(pos)
pos
loop(pos)
pos
none(pos)
pos
reverse(pos)
pos
reverseWarp(pos)
pos
sigmoid(pos, steepness)
pos
steepness
sigmoid2(pos)
pos
sigmoid3(pos)
pos
sigmoid4(pos)
pos
spring(pos)
pos
swingTo(pos)
pos
swingToFrom(pos)
pos
tan(pos)
pos
toString()
wobble(pos)
pos