Function: proportionsAlongBezierCurveForPoint()
proportionsAlongBezierCurveForPoint(
point,controlPoints,roundTo):number[]
Defined in: src/utils/bezier.ts:389
Parameters t in [0, 1] at which the Bézier curve defined by
controlPoints passes through point. Usually one or zero values; a point
at the seam of a closed loop can yield more. Port of Manim CE's
proportions_along_bezier_curve_for_point.
Parameters
point
number[]
controlPoints
number[][]
roundTo
number = 1e-6
Returns
number[]
Throws
Error when point and the control points have different shapes.