Skip to main content

Function: partialBezierPoints()

partialBezierPoints(controls, a, b): number[][]

Defined in: src/core/VMobjectCurveMath.ts:189

Control points of the portion of a Bezier curve between parameters a and b.

Direct port of Manim CE's partial_bezier_points. Works for any degree; the result has the same number of control points as the input.

Parameters​

controls​

number[][]

Control points of the full curve

a​

number

Start parameter in [0, 1]

b​

number

End parameter in [0, 1], b >= a

Returns​

number[][]