Function flo_curves::bezier::walk_curve_unevenly
source · pub fn walk_curve_unevenly<Curve: BezierCurve>(
curve: &Curve,
num_subdivisions: usize
) -> impl '_ + Iterator<Item = CurveSection<'_, Curve>>
Expand description
Walks a bezier curve by dividing it into a number of sections
These sections are uneven in length: they all advance equally by ‘t’ value but the points will be spaced according to the shape of the curve (will have an uneven distance between them)