Skip to main content

default_ramp_frames

Function default_ramp_frames 

Source
pub fn default_ramp_frames(fps: u32) -> Frame
Expand description

A sensible ramp length for fps: about 0.6 s of ease-in / ease-out — the cinematic-but-snappy feel screen recorders converge on — floored at a single frame so even a 1 fps project still animates.