from-to
function fromTo(ps: number[][], tS: number, tE: number): number[][]
Defined in transformation/split/from-to.ts:20
Returns a bezier curve that starts and ends at the given t
parameters.
Note!
Green circles are draggable!
Parameters:
Name | Type | Description |
---|---|---|
ps | number[][] | an order 0,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]] |
tS | number | the t parameter where the resultant bezier should start |
tE | number | the t parameter where the resultant bezier should end |