Expand description
Module for easing functions.
Easing function, in the context of this crate, are function which take as only input a real number in [0.0,1.0] and return a real number in [0.0,1.0].
Structs§
- Func
Ease - This is just a wrapper for easing functions.
- Identity
- Identity as Curve.
- Plateau
- Plateau is an easing curve which - therefore the name - create constant plateaus if given to an interpolation which works with factors for which an easing function gets applied.
Functions§
- flip
- Flips the “start” and “end”.
- smoothend
- Smoothend, also known as ease-out, smooths out the end of the graph.
- smootherstep
- A smoother variant of the smoothstep function, see https://en.wikipedia.org/wiki/Smoothstep
- smoothstart
- Smoothstart, also known as ease-in, smooths out the start of the graph.
- smoothstep
- Smoothstep function, see https://en.wikipedia.org/wiki/Smoothstep