Module motion

Source
Expand description

Utilities for smooth transitions and animations.

Structs§

Tweened
A state that is interpolated when it is set.

Traits§

Lerp
Describes a trait that can be linearly interpolate between two points.

Functions§

create_raf
Schedule a callback to be called on each animation frame. Does nothing if not on wasm32 target.
create_raf_loop
Schedule a callback to be called on each animation frame. Does nothing if not on wasm32 target.
create_tweened_signal
Create a new Tweened signal.