Skip to main content

evolve_path_with_length

Function evolve_path_with_length 

Source
pub fn evolve_path_with_length(progress: f64, length: f64) -> EvolvedPath
Expand description

Computes stroke-dash properties for a draw-on animation given pre-calculated total length.

ยงArguments

  • progress - Animation progress in [0, 1]. Values outside this range are clamped.
  • length - Total length of the path in pixels.