n-star
n-star()
Draws a n-pointed star.
n-star((0,0), 5)
// An 8-pointed star, rotated
n-star((2,0), 8, angle: 11.25deg)
// A 6-pointed star showing its inner hexagon
n-star((4,0), 6, show-inner: true, style: red)
origin:
Coordinate to draw the star's center at.
Styling
Root: nstar
The radius (if of type ratio, relative to the outer radius) of the star's inner points of the star's inner points.
If true, also draws the inner polygon connecting the star's inner points.