egui::math
pub fn lerp<T>(range: RangeInclusive<T>, t: f32) -> T where f32: Mul<T, Output = T>, T: Add<T, Output = T> + Copy,
Linear interpolation.