Function revealed

Source
fn revealed(points: &[(f32, f32, f32)], reveal: f32, out: &mut Vec<[f32; 2]>)
Expand description

Points of a stroke revealed at reveal seconds (the last segment is cut proportionally).