pub fn pulse_value( elapsed: Duration, cycle_duration: Duration, min: f64, max: f64, ) -> f64
Generate a pulsing value between min and max