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

timing({ clock?: Clock, from?: Node, to?: Node, duration?: Node, easing?: EasingFunction }): Node

Convenience function to run a timing animation.

Example usage:

timing({
duration: 10 * 1000,
from: 0,
to: 1,
easing: Easing.linear,
});