meta data for this page
This is an old revision of the document!
Star
A two dimensional shape made from straight rays extending from a center. All vertices are the same distance from the center.
Note: See the paper on The Inner Radius of n/m Stars by Julian D. A. Wiseman for more details.
Defaults:
- vertices: 5
- density: 2
- outerRadius: 1
- innerRadius: 0
- startAngle: 0
- center: [0, 0, 0]
const myshape = star({vertices: 8, outerRadius: 10})