HomeUsageComponents
SVG
parsePathgetPointAtLengthinterpolatePathbInterpolatePathgetLengthAtX
Math
incdectoRadtoDegminmaxclampbetweenapproximatesatan2cubicBezier
CoordinatesString
Array
getfindcontains
Transitions
Animations
useValuesuseDifftimingloopdelaydecayspringbInterpolateinterpolateColorbInterpolateColorsnapPointmoving
Transformations
translateZtransformOrigin
Gestures
onScrollonGestureEventpanGestureHandlerhorizontalPanGestureHandlerverticalPanGestureHandlerwithSpringwithDecaywithOffsetpreserveMultiplicativeOffset

decay({ clock: Clock, value: Node, velocity: Node, deceleration: number }): Node

Convenience function to run a decay animation.

decay({ clock: Clock, value: Node, velocity: Node, deceleration: number} ): Node