Module animation

Module animation 

Source
Expand description

Evaluation and animation

The evaluation core of an animation is a E: Eval<T>.

When constructing an animation, we need AnimationInfo besides the evaluation core, which is AnimationCell<T>.

When satisfies T: Extract<Target = CoreItem>, AnimationCell<T> can be converted to a CoreItemAnimation.

Structs§

AnimationCell
A cell of an animation
AnimationInfo
Info of an animation.
Static
A static animation.

Traits§

CoreItemAnimation
Animation of core items.
Eval
This is the core of any animation, an animation is basically a function on time.
StaticAnim
The helper methods for Static, i.e. evaluates to the same value
StaticAnimRequirement
The requirement for StaticAnim