Skip to content

curveToBezier

curveToBezier(pointsIn, curveTightness): number[][]

Returns bezier curve points that passing all the given points From the https://github.com/pshihn/bezier-points Fixed code when the number of points is 3.

Parameters

pointsIn: number[][]

curveTightness: number= 0

Returns

number[][]

Source

graphics/geometry.ts:734