pub fn lerp(x0: f64, y0: f64, x1: f64, y1: f64, x: f64) -> f64
Linear interpolation between two points