xen_animation/lib.rs
1// SPDX-License-Identifier: Apache-2.0
2
3//! A high-performance, framework-agnostic animation library for Rust.
4//!
5//! `xen-animation` centralizes the lifecycle of every animated value behind
6//! a single [`AnimationManager`]: callers report the current target value
7//! each frame, and the manager takes care of starting, easing, retargeting,
8//! and finishing the transition on its own. It has no rendering or
9//! windowing dependencies, so it can be reused across GUI frameworks, game
10//! engines, or any other application that needs frame-based interpolation.
11
12mod easing;
13mod manager;
14mod transition;
15mod transition_property;
16mod value;
17
18pub use easing::{ CubicBezier, Easing };
19pub use manager::AnimationManager;
20pub use transition::{ Transition, TransitionOverrides };
21pub use transition_property::TransitionProperty;
22pub use value::AnimValue;