Skip to main content

Module animation

Module animation 

Source
Expand description

Animation Verification: timing, easing curves, physics events. Animation Verification: timing, easing curves, physics events.

Verifies that rendered animations match their declared timelines and easing functions.

§Architecture

AnimationTimeline (JSON) ──→ timing::verify_timeline
                                     │
ObservedEvents ─────────────────────►│
                                     │
                              AnimationReport

Keyframes ──→ easing::verify_easing ──→ EasingVerification

§Integration with rmedia

rmedia writes animation timelines as JSON alongside rendered videos. probar reads these timelines and verifies actual timing matches intent.

Re-exports§

pub use easing::sample_easing;
pub use easing::verify_easing;
pub use easing::EasingVerification;
pub use easing::Keyframe;
pub use timing::verify_events;
pub use timing::verify_timeline;
pub use timing::ObservedEvent;
pub use types::AnimationEvent;
pub use types::AnimationEventType;
pub use types::AnimationReport;
pub use types::AnimationTimeline;
pub use types::AnimationVerdict;
pub use types::EasingFunction;
pub use types::EventResult;

Modules§

easing
Easing curve verification.
timing
Animation timing verification.
types
Types for animation verification.