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