1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! Animation utilities for terminal UI
//!
//! Provides frame-based animation primitives that work well with terminal
//! render loops. Includes spring physics, keyframes, sequences, and timers.
//!
//! # Example
//!
//! ```rust,ignore
//! use revue::utils::animation::{Spring, Keyframes, Timer};
//!
//! // Spring animation for smooth motion
//! let mut spring = Spring::new(0.0, 100.0);
//! loop {
//! let value = spring.update(dt);
//! if spring.is_settled() { break; }
//! }
//!
//! // Keyframe animation
//! let anim = Keyframes::new()
//! .add(0.0, 0.0)
//! .add(0.5, 100.0)
//! .add(1.0, 50.0);
//! let value = anim.at(0.25); // Interpolated between keyframes
//! ```
pub use AnimatedValue;
pub use ;
pub use *;
pub use ;
pub use Spring;
pub use Ticker;
pub use Timer;
pub use Interpolatable;