Class: HobbyPath
HobbyPath(vertices?opt)
new HobbyPath(vertices?opt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
vertices? |
Array:.<Vertex:> |
<optional> |
An optional array of vertices to initialize the path with. |
- Source:
Members
addPoint
Add a new point to the end of the vertex sequence.
- Source:
generateCurve
Generate a sequence of cubic Bézier curves from the point set.
- Source:
hobbyControls
Computes the control point coordinates for a Hobby curve through
the points given.
- Source: