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:
const { star } = require('@jscad/modeling').primitives let star1 = star({vertices: 8, outerRadius: 10}) // star with 8/2 density let star2 = star({vertices: 12, outerRadius: 40, innerRadius: 20}) // star with given radius