get-hodograph
function getHodograph(ps: number[][]): number[][]
Defined in transformation/get-hodograph.ts:9
Returns the hodograph of the given bezier curve.
Note!
Green circles are draggable!
Parameters:
Name | Type | Description |
---|---|---|
ps | number[][] | an order 1,2 or 3 bezier curve given as an ordered array of its control point coordinates, e.g. [[0,0], [1,1], [2,1], [2,0]] |