easings
Types
Values
pub fn back_in(t: Float) -> Float
Eases away from the goal before accelerating toward it.
pub fn back_in_out(t: Float) -> Float
Eases away from the goal, and then beyond it.
pub fn back_out(t: Float) -> Float
Eases quickly past the goal before settling toward it.
pub fn bounce_in(t: Float) -> Float
Eases in by “bouncing” around the start.
pub fn bounce_in_out(t: Float) -> Float
Eases in and out by “bouncing” around the start and the end.
pub fn bounce_out(t: Float) -> Float
Eases out by “bouncing” around the end.
pub fn circular_in_out(t: Float) -> Float
Eases in and out on elliptic arcs.
pub fn elastic_in(t: Float) -> Float
Eases by oscillating with increasing amplitude around the start.
pub fn elastic_in_out(t: Float) -> Float
Eases by oscillating with increasing amplitude around the start, and decreasing around the end.
pub fn elastic_out(t: Float) -> Float
Eases by oscillating with decreasing amplitude around the end.
pub fn exponential_in_out(t: Float) -> Float
Eases in and out exponentially.
pub fn linear(t: Float) -> Float
Linear easing is an identity transformation, time is not skewed.
pub fn quadratic_in_out(t: Float) -> Float
Eases in and out quadratically.
pub fn quartic_in_out(t: Float) -> Float
Eases in and out quartically.
pub fn quintic_in_out(t: Float) -> Float
Eases in and out quintically.
pub fn sine_in_out(t: Float) -> Float
Eases in and out with a sine function.