pub fn bounce(bounces: u32, decay: f32) -> Result<Curve, CurveError>Expand description
Bouncing curve — several damped rebounds converging on 1.
bounces— number of rebounds (≥ 1).decay— per-bounce amplitude loss in(0, 1](higher = faster settle). Values ≤ 0 are coerced to a small positive number so the curve still lands exactly on1att = 1.