Expand description
Common easing functions.
Structs§
- A unit cubic Bézier curve, used for timing functions in CSS transitions and animations.
- Easing function input.
Enums§
- Easing functions as a value.
Functions§
- Cubic transition that goes slightly negative to start and ends very fast.
- Oscillating transition that grows in magnitude, does not go negative, when the curve is about to go negative it sharply transitions to a new arc of larger magnitude.
- Cubic transition with slightly slowed start then
cubic
. - Cubic transition (t³).
- X coordinate is time, Y coordinate is function advancement. The nominal range for both is 0 to 1.
- Applies the
ease_fn
. - Applies the
ease_fn
in reverse and flipped. - Oscillating transition that grows in magnitude, goes negative twice.
- Exponential transition. Very slow start, very fast end.
- Simple linear transition, no easing, no acceleration.
- Always
1.fct()
, that is, the completed transition. - Quadratic transition (t²).
- Fourth power transition (t⁴).
- Fifth power transition (t⁵).
- Applies the
ease_fn
in reverse. - Applies the
ease_fn
flipped. - Sine transition. Slow start, fast end.
- Jumps to the final value by a number of
steps
. - Jumps to the final value by a number of
steps
.
Type Aliases§
- Easing function output.