* Use with `Animated.parallel()` to create a simple effect where the object * animates back slightly as the animation starts. * * Wolfram Plot: * * - http://tiny.cc/back_default (s = 1.70158, default)
(s: number)
| 182 | * - http://tiny.cc/back_default (s = 1.70158, default) |
| 183 | */ |
| 184 | static back(s: number): (t: number) => number { |
| 185 | if (s === undefined) { |
| 186 | s = 1.70158; |
| 187 | } |
| 188 | return (t) => t * t * ((s + 1) * t - s); |
| 189 | } |
| 190 | |
| 191 | /** |
| 192 | * Provides a simple bouncing effect. |