Skip to main content

get-inflections

function getInflections(ps: number[][]): number[]

Defined in global-properties/get-inflections.ts:15

Returns the given order 1,2 or 3 bezier curve's inflection point t parameter values in ascending order.

Note!
Green circles are draggable!
0

Parameters:

NameTypeDescription
psnumber[][]an order 0,1,2 or 3 bezier curve given as an array of its control points, e.g. [[1,2],[3,4],[5,6],[7,8]]