[][src]Crate ezing

Simple easing functions

All functions have the signature fn<F: Float>(F) -> F (letting you use f32, f64, or any other type that implements num_traits's Float). Input should range from 0.0 to 1.0, and output is generally in the 0.0 to 1.0 range (except for elastic and back, which return values slightly outside). 0.0 always maps to 0.0, and 1.0 always maps to 1.0.

Functions

back_in
back_inout
back_out
bounce_in
bounce_inout
bounce_out
circ_in
circ_inout
circ_out
cubic_in
cubic_inout
cubic_out
elastic_in
elastic_inout
elastic_out
expo_in
expo_inout
expo_out
linear
quad_in
quad_inout
quad_out
quart_in
quart_inout
quart_out
quint_in
quint_inout
quint_out
sine_in
sine_inout
sine_out