Easing Class
+ + + + +The easing module provides methods for customizing +how an animation behaves during each run.
+Item Index
+ + +Methods
+ +-
+
+
- + backBoth + + + + + +
- + backIn + + + + + +
- + backOut + + + + + +
- + bounceBoth + + + + + +
- + bounceIn + + + + + +
- + bounceOut + + + + + +
- + easeBoth + + + + + +
- + easeBothStrong + + + + + +
- + easeIn + + + + + +
- + easeInStrong + + + + + +
- + easeNone + + + + + +
- + easeOut + + + + + +
- + easeOutStrong + + + + + +
- + elasticBoth + + + + + +
- + elasticIn + + + + + +
- + elasticOut + + + + + +
Methods
+ + +backBoth
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+ -
+
+
s+ +
+
+
Backtracks slightly, then reverses direction, overshoots end, +then reverses and comes back to end.
+Parameters:
+ +-
+
+
-
+
+
t+ Number + + + + +++ + +Time value used to compute current value
+
+
+ -
+
+
b+ Number + + + + +++ + +Starting value
+
+
+ -
+
+
c+ Number + + + + +++ + +Delta between start and end values
+
+
+ -
+
+
d+ Number + + + + +++ + +Total length of animation
+
+
+ -
+
+
s+ Number + + + + +++ + +Overshoot (optional)
+
+
+
Returns:
+ +backIn
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+ -
+
+
s+ +
+
+
Backtracks slightly, then reverses direction and moves to end.
+Parameters:
+ +-
+
+
-
+
+
t+ Number + + + + +++ + +Time value used to compute current value
+
+
+ -
+
+
b+ Number + + + + +++ + +Starting value
+
+
+ -
+
+
c+ Number + + + + +++ + +Delta between start and end values
+
+
+ -
+
+
d+ Number + + + + +++ + +Total length of animation
+
+
+ -
+
+
s+ Number + + + + +++ + +Overshoot (optional)
+
+
+
Returns:
+ +backOut
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+ -
+
+
s+ +
+
+
Overshoots end, then reverses and comes back to end.
+Parameters:
+ +-
+
+
-
+
+
t+ Number + + + + +++ + +Time value used to compute current value
+
+
+ -
+
+
b+ Number + + + + +++ + +Starting value
+
+
+ -
+
+
c+ Number + + + + +++ + +Delta between start and end values
+
+
+ -
+
+
d+ Number + + + + +++ + +Total length of animation
+
+
+ -
+
+
s+ Number + + + + +++ + +Overshoot (optional)
+
+
+
Returns:
+ +bounceBoth
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Bounces off start and end.
+Parameters:
+ + +Returns:
+ +bounceIn
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Bounce off of start.
+Parameters:
+ + +Returns:
+ +bounceOut
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Bounces off end.
+Parameters:
+ + +Returns:
+ +easeBoth
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Begins slowly and decelerates towards end. (quadratic)
+Parameters:
+ + +Returns:
+ +easeBothStrong
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Begins slowly and decelerates towards end. (quartic)
+Parameters:
+ + +Returns:
+ +easeIn
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Begins slowly and accelerates towards end. (quadratic)
+Parameters:
+ + +Returns:
+ +easeInStrong
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Begins slowly and accelerates towards end. (quartic)
+Parameters:
+ + +Returns:
+ +easeNone
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Uniform speed between points.
+Parameters:
+ + +Returns:
+ +easeOut
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Begins quickly and decelerates towards end. (quadratic)
+Parameters:
+ + +Returns:
+ +easeOutStrong
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+
Begins quickly and decelerates towards end. (quartic)
+Parameters:
+ + +Returns:
+ +elasticBoth
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+ -
+
+
a+ +
+
+ -
+
+
p+ +
+
+
Snap both elastic effect.
+Parameters:
+ +-
+
+
-
+
+
t+ Number + + + + +++ + +Time value used to compute current value
+
+
+ -
+
+
b+ Number + + + + +++ + +Starting value
+
+
+ -
+
+
c+ Number + + + + +++ + +Delta between start and end values
+
+
+ -
+
+
d+ Number + + + + +++ + +Total length of animation
+
+
+ -
+
+
a+ Number + + + + +++ + +Amplitude (optional)
+
+
+ -
+
+
p+ Number + + + + +++ + +Period (optional)
+
+
+
Returns:
+ +elasticIn
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+ -
+
+
a+ +
+
+ -
+
+
p+ +
+
+
Snap in elastic effect.
+Parameters:
+ +-
+
+
-
+
+
t+ Number + + + + +++ + +Time value used to compute current value
+
+
+ -
+
+
b+ Number + + + + +++ + +Starting value
+
+
+ -
+
+
c+ Number + + + + +++ + +Delta between start and end values
+
+
+ -
+
+
d+ Number + + + + +++ + +Total length of animation
+
+
+ -
+
+
a+ Number + + + + +++ + +Amplitude (optional)
+
+
+ -
+
+
p+ Number + + + + +++ + +Period (optional)
+
+
+
Returns:
+ +elasticOut
+
+
+ -
+
+
-
+
+
t+ +
+
+ -
+
+
b+ +
+
+ -
+
+
c+ +
+
+ -
+
+
d+ +
+
+ -
+
+
a+ +
+
+ -
+
+
p+ +
+
+
Snap out elastic effect.
+Parameters:
+ +-
+
+
-
+
+
t+ Number + + + + +++ + +Time value used to compute current value
+
+
+ -
+
+
b+ Number + + + + +++ + +Starting value
+
+
+ -
+
+
c+ Number + + + + +++ + +Delta between start and end values
+
+
+ -
+
+
d+ Number + + + + +++ + +Total length of animation
+
+
+ -
+
+
a+ Number + + + + +++ + +Amplitude (optional)
+
+
+ -
+
+
p+ Number + + + + +++ + +Period (optional)
+
+
+
