eazing 0.0.1

The blazingly fast and mathematically optimized `easing functions` kit.
Documentation
use eazing::interpolation::polynomial::smoothstep::smoothstep;

fn main() {
  let mut time = 0.0; // current time or progress.
  let duration = 4.0; // animation time.
  let mut p = 0.0;

  println!("\nsmoothstep:start.\n");

  while time <= duration {
    // inside this loop until the time expires.
    p = smoothstep(time / duration, 0.0, 1.0); // interpolates "p" value from 0 to 1.

    println!("progress = {p}");

    time += 1.0; // adds one millisecond to the elapsed time..
  }

  println!("progress = {p}");
  println!("\nsmoothstep:end\n");
}