Skip to main content

linear_indeterminate_lines

Function linear_indeterminate_lines 

Source
pub fn linear_indeterminate_lines(elapsed_ms: f32) -> [(f32, f32); 2]
Expand description

The two indeterminate lines elapsed_ms into the loop, each as (tail, head) fractions of the track. A line is visible while its head leads its tail. Compose’s keyframes: the first line’s head runs over 0-1000ms and tail over 250-1250ms; the second’s head over 650-1500ms and tail over 900-1750ms, each on its own cubic easing.