pub fn ease_in_out_quad(t: f64) -> f64
Ease-in-out quad rate function
when t < 0.5: 2.0 * t * t when t >= 0.5: 1.0 - 2.0 * (t - 1.0) * (t - 1.0)