Expand description
SVG path interpolation and length approximation utilities.
Ported from Remotion’s @remotion/paths helpers:
evolve_path— draw-on animation via stroke-dash trickapproximate_path_length— fast string-based path length estimationinterpolate_path— linear interpolation between two SVG paths
Re-exports§
pub use crate::evolve_path::evolve_path;pub use crate::evolve_path::evolve_path_with_length;
Functions§
- approximate_
path_ length - Computes an approximation of the total length of an SVG
dpath string. - interpolate_
path - Linearly interpolates between two SVG path strings.