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§
Structs§
- Duration
- Represents a span of time in seconds.
- Frame
Index - Represents a discrete, non-negative frame position in a timeline.
- Frame
Rate - Represents a temporal frequency in frames per second.
- Frame
Stepper - Steps through timeline frames deterministically.
- Time
- Represents a continuous time value measured in seconds.
- Time
Range - Represents a bounded time interval with a start and end Time.
Traits§
- HasDuration
- Trait for values that expose a Duration.
- HasTime
Range - Trait for values that expose a TimeRange.