Regular star polygon (source code)

= Regular star polygon

A regular star polygon $\{p/q\}$ joins every $q$-th vertex of a regular $p$-gon. When $\gcd(p,q)=1$, this traces one closed polygonal circuit.