kova_native_animation/lib.rs
1//! Animation primitives for Kova Native.
2//!
3//! * [`Easing`] — CSS compatible and custom easing curves.
4//! * [`Lerp`] — interpolation for numbers, points, colors, fills, corners...
5//! * [`Spring`] — analytically solved springs (frame-rate independent).
6//! * [`Transition`] — how a property moves to a new value (tween or spring).
7//! * [`Animated`] — a value that transitions whenever its target changes,
8//! preserving position and velocity when interrupted.
9//! * [`Animation`] — repeating / ping-pong time based animations.
10//!
11//! This crate is renderer-agnostic: time is always passed in explicitly,
12//! which makes everything deterministic and testable.
13
14mod animated;
15mod easing;
16mod lerp;
17mod spring;
18mod transition;
19
20pub use animated::{Animated, Animation, Repeat};
21pub use easing::Easing;
22pub use lerp::Lerp;
23pub use spring::Spring;
24pub use transition::{Timing, Transition};