Private
verticesvertices
HobbyPath
Static
utilsAdd a new point to the end of the vertex sequence.
The vertex (point) to add.
addPoint
HobbyPath
Generate a sequence of cubic Bézier curves from the point set.
Optional
circular: booleanSpecify if the path should be closed.
Optional
omega: number(default=0) An optional tension parameter.
Array
generateCurve
HobbyPath
Private
hobbyComputes the control point coordinates for a Hobby curve through the points given.
Optional
circular: booleanIf true, then the path will be closed.
Optional
omega: numberThe 'curl' or the path.
An object with two members: startControlPoints and endControlPoints (Array
hobbyControls
HobbyPath
Classdesc
A HobbyCurve/HobbyPath calculation class: compute a set of optimal cubic Bézier curves from a sequence of vertices.
Requires
CubicBezierCurve
Requires
Vertex