telar_motion_core/lib.rs
1//! The rsx motion engine: signal-backed values that chase a target over time,
2//! driven by a central frame ticker. An [`Animated<T>`] wraps a reactive signal
3//! whose value is interpolated toward `target` by a [`Curve`] (a [`Tween`] or a
4//! [`Spring`]); [`tick`] advances every registered animation once per frame.
5//! Colors interpolate in Oklch (see [`Lerp`]) as a deliberate perceptual choice.
6
7mod animated;
8mod curve;
9mod easing;
10mod keyframes;
11mod lerp;
12mod ticker;
13
14pub use animated::Animated;
15pub use curve::{Curve, Spring, Tween, spring, tween};
16pub use easing::Easing;
17pub use keyframes::{Keyframes, KeyframesBuilder, Repeat};
18pub use lerp::Lerp;
19pub use ticker::{Continuous, has_active, has_continuous, reset, set_scale, tick};