Static
bouncyStatic
smoothStatic
snappyStatic
springCreates a new spring animation with the given duration and bounce.
The perceptual duration of the animation in seconds.
How much bounce the spring should have. 0 is no bounce, 1 is infinite bounce.
A new spring animation object.
Evaluates the new position of the object based on the spring dynamics.