Skip to main content

Function: splitBezier()

splitBezier(points, t): number[][]

Defined in: src/utils/bezier.ts:196

Split a Bézier curve at parameter t into two curves of the same degree.

Parameters​

points​

number[][]

t​

number

Returns​

number[][]

2 * N control points: the first N are the curve over [0, t], the last N are the curve over [t, 1].