Skip to main content

zoom_scale

Function zoom_scale 

Source
fn zoom_scale(t: f32) -> f32
Expand description

Eased zoom factor at story time t (seconds, 0..3): a cubic ramp-in to AMOUNT, a flat hold, and a symmetric ramp-out — the same three-phase shape edit::zoom_anim::zoom_at produces, reproduced here without the dep.