MCPcopy Create free account
hub / github.com/ptmt/react-native-macos / back

Method back

Libraries/Animated/src/Easing.js:184–189  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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.

Callers 1

AnimatedExample.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected