Documentation / @ripl/core / interpolatePolygonPoint
Function: interpolatePolygonPoint() ​
interpolatePolygonPoint(
sides,cx,cy,radius,closePath?):Interpolator<Point>
Defined in: packages/core/src/interpolators/path.ts:138
Creates an interpolator that traces a point around the vertices of a regular polygon.
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
sides | number | undefined |
cx | number | undefined |
cy | number | undefined |
radius | number | undefined |
closePath | boolean | true |