Expand description
Easey is for interpolation and easing for numbers between 0.0 and 1.0.
It can be used as either stand alone functions, or a trait that adds these functions onto f32 and f64 types.
use ::easey::f32::ease_in;
let n : f32 = ease_in(0.3);
use ::easey::Easey;
let n : f32 = 0.3.ease_in();
The trait allows you to then easily chain functions, allowing one to combine them. For example …
use ::easey::Easey;
let n : f32 = 0.3.pre_delay(0.2).ease_in();