Skip to main content

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!
0

Parameters:

NameTypeDescription
psnumber[][]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]]