Expand description
Animation primitives for Kova Native.
Easing— CSS compatible and custom easing curves.Lerp— interpolation for numbers, points, colors, fills, corners…Spring— analytically solved springs (frame-rate independent).Transition— how a property moves to a new value (tween or spring).Animated— a value that transitions whenever its target changes, preserving position and velocity when interrupted.Animation— repeating / ping-pong time based animations.
This crate is renderer-agnostic: time is always passed in explicitly, which makes everything deterministic and testable.
Structs§
- Animated
- A value that transitions smoothly whenever its target changes.
- Animation
- A repeating, time based animation (for loaders, pulses, shimmer, …).
- Spring
- Spring parameters.
- Transition
- Describes how animatable properties transition between values.
Enums§
- Easing
- Maps linear progress
t ∈ [0, 1]to eased progress. - Repeat
- How many times an
Animationruns. - Timing
- The timing model of a transition.
Traits§
- Lerp
- A value that can be interpolated.