Skip to main content

jugar_probar/animation/
mod.rs

1//! Animation Verification: timing, easing curves, physics events.
2//!
3//! Verifies that rendered animations match their declared timelines
4//! and easing functions.
5//!
6//! # Architecture
7//!
8//! ```text
9//! AnimationTimeline (JSON) ──→ timing::verify_timeline
10//!                                      │
11//! ObservedEvents ─────────────────────►│
12//!                                      │
13//!                               AnimationReport
14//!
15//! Keyframes ──→ easing::verify_easing ──→ EasingVerification
16//! ```
17//!
18//! # Integration with rmedia
19//!
20//! rmedia writes animation timelines as JSON alongside rendered videos.
21//! probar reads these timelines and verifies actual timing matches intent.
22
23pub mod easing;
24pub mod timing;
25pub mod types;
26
27pub use easing::{sample_easing, verify_easing, EasingVerification, Keyframe};
28pub use timing::{verify_events, verify_timeline, ObservedEvent};
29pub use types::{
30    AnimationEvent, AnimationEventType, AnimationReport, AnimationTimeline, AnimationVerdict,
31    EasingFunction, EventResult,
32};