Skip to main content

Crate tempa

Crate tempa 

Source
Expand description

Tempa is a no_std temporal system for animation and simulation. It provides Time, Duration, TimeRange, FrameRate, deterministic FrameIndex stepping, and FrameStepper for frame-by-frame traversal. It also includes traits for shared temporal behavior and conversion helpers.

Modules§

conversion

Structs§

Duration
Represents a span of time in seconds.
FrameIndex
Represents a discrete, non-negative frame position in a timeline.
FrameRate
Represents a temporal frequency in frames per second.
FrameStepper
Steps through timeline frames deterministically.
Time
Represents a continuous time value measured in seconds.
TimeRange
Represents a bounded time interval with a start and end Time.

Traits§

HasDuration
Trait for values that expose a Duration.
HasTimeRange
Trait for values that expose a TimeRange.