uzor 1.0.20

Core UI engine — geometry, interaction, input state
Documentation
//! Animation engine for uzor
//!
//! Provides spring physics, easing functions, keyframe timelines,
//! stagger helpers, decay animations, perceptual color interpolation,
//! and animation blending/composition for smooth 120fps widget animations.
//!
//! Also provides the AnimationCoordinator that manages active animations
//! keyed by (WidgetId, property_name) pairs for uzor-core's per-frame render loop.

pub mod blend;
pub mod color;
pub mod decay;
pub mod easing;
pub mod layers;
pub mod path;
pub mod recipes;
pub mod scroll;
pub mod spring;
pub mod stagger;
pub mod stroke;
pub mod timeline;

mod coordinator;
mod types;

// Re-export animation primitives
pub use blend::{
    blend, blend_weighted, resolve_layers, AnimationLayer, AnimationSlot, AnimationTransition,
    CompositeMode, InterruptionStrategy,
};
pub use color::{Color, ColorSpace, Oklab, Oklch};
pub use decay::Decay;
pub use easing::{Easing, StepPosition};
pub use layers::{LayerStack, ManagedLayer};
pub use path::{MotionPath, PathSample, PathSegment, Point};
pub use scroll::{ParallaxLayer, ScrollTimeline, ScrollTween, ViewTimeline};
pub use spring::Spring;
pub use stagger::{
    DistanceMetric, GridOrigin, GridStagger, LinearStagger, StaggerOrigin,
};
pub use stroke::{StrokeAnimation, StrokeState};
pub use timeline::{Animatable, Position, Timeline, TimelinePlayback, Tween};

// Re-export coordinator types
pub use coordinator::AnimationCoordinator;
pub use types::{ActiveAnimation, AnimationDriver, AnimationKey};