line-to-cubic
function lineToCubic(ps: number[][]): number[][]
Defined in transformation/degree-or-type/line-to-cubic.ts:9
Returns a cubic bezier from the given line with evenly spaced control points.
Note!
Green circles are draggable!
Parameters:
Name | Type | Description |
---|---|---|
ps | number[][] | a 2d line represented by two points |