Skip to main content

Module animation

Module animation 

Source
Expand description

Animation utilities and easing functions Animation utilities for smooth, physics-based motion.

Provides timed animations with easing, spring physics, staggered entrance effects, and looping support.

Re-exports§

pub use easing::EasingFunction;
pub use interpolate::Interpolate;
pub use momentum::ContinuousWithMomentum;
pub use momentum::MomentumBehavior;
pub use momentum::MomentumPosition;
pub use momentum::SnapToPageBoundaries;
pub use staggered::AnimationSequence;
pub use staggered::LoopMode;
pub use staggered::LoopingAnimation;
pub use staggered::StaggeredAnimation;
pub use velocity_drag::DoubleClickReset;
pub use velocity_drag::DragMode;
pub use velocity_drag::VelocityDrag;
pub use velocity_drag::VelocityDragConfig;

Modules§

easing
Easing functions for smooth animations Easing functions for animations
interpolate
Interpolation trait for animating values Interpolation trait and helpers for animating values.
momentum
Momentum-based animation for drag-and-release interactions
staggered
Staggered animations for choreographed entrance effects
velocity_drag
Velocity-based drag control for fine parameter adjustment

Structs§

Animation
A generic animation that interpolates between two values over time
SpringAnimation
Spring-based animation for smooth, physics-based motion

Enums§

AnimationState
Animation state