Skip to main content

rolloff

Function rolloff 

Source
pub fn rolloff(x: f32, knee: f32, peak: f32) -> f32
Expand description

Identity below knee, then an exponential shoulder that approaches peak with a continuous first derivative.