Expand description
Clock-free easing and value interpolation.
Structs§
- Constant
- An unbounded constant signal.
- Delay
- A delayed animation produced by
FiniteAnimation::delay. - Follow
Path - Finite path motion sampled by normalized arc length.
- Interval
- A half-open interval
[start, start + duration)on a timeline. - Keyframes
- A nonempty track starting at zero, with absolute destinations and relative holds.
- Map
- Value mapping produced by
Signal::map. - Noise
- Infinite deterministic multi-octave noise animation in minus one to one.
- Noise
Builder - Unvalidated noise configuration;
NoiseBuilder::buildreports invalid values. - Oscillator
- Infinite stateless periodic scalar animation.
- Oscillator
Builder - Unvalidated oscillator configuration;
OscillatorBuilder::buildreports invalid values. - Path
Sample - One arc-length path sample in local geometry coordinates.
- Ping
Pong - A finite forward/backward cycle produced by
FiniteAnimation::ping_pong. - Repeat
- A finite repetition produced by
FiniteAnimation::repeat. - Reverse
- A reversed finite animation produced by
FiniteAnimation::reverse. - Speed
- A time-scaled animation produced by
FiniteAnimation::speed. - Spring
- A finite physical spring between arbitrary interpolatable values.
- Spring
Builder - Unvalidated spring configuration;
SpringBuilder::buildreports invalid parameters. - Then
- A finite sequence produced by
FiniteAnimation::then. - Tween
- A finite endpoint-to-endpoint interpolation with double-precision progress.
- Zip
- Parallel sampling produced by
Signal::zip.
Enums§
- Easing
- A normalized double-precision easing curve, independent of clip duration.
- Extrapolate
- Behavior outside a mapping’s input interval.
- Waveform
- Periodic waveform evaluated in turns.
Traits§
- Finite
Animation - A
Signalwith a nonnegative, stable duration. - Interpolate
- Values that can interpolate between endpoints. Progress may overshoot
0.0..=1.0. Implement this trait to sample custom values withTweenandKeyframes. Progress and geometry use double precision. f32 values retain their own arithmetic; colors extrapolate Oklab and clamp only alpha. - Signal
- A thread-safe, randomly addressable signal of values over signed local time.
Functions§
- piecewise
- Interpolates matching samples with finite strictly increasing input knots.
- remap
- Maps one finite scalar interval; reversed endpoints are supported.
- try_
piecewise - Interpolates like
piecewise, reporting invalid knots, easing and mapping errors. - try_
remap - Maps like
remap, reporting nonfinite inputs, equal input endpoints and overflow. - try_
value_ noise - Evaluates
value_noise, reporting a nonfinite position. - value_
noise - One-dimensional slice of
crate::noise::value2_dalongy = 0, with its derivative.