These patterns are epicycloids, andThe following does not answer the construction is attributed to Cremonaquestion about the number of cusps, see for example this webpagebut might be useful.
The question is about the envelope ofConsider a systemcontinuous version of linesyour construction: one draws draw a line through the points $(\cos t, \sin t)$ and $(\cos nt, \sin nt)$ for every $t$ and look at its envelope. If $F(x,y,t)=0$ is an equation of this line, then the envelope is found from resolving the system of equations $$ F(x,y,t)=0, \quad \frac{\partial F}{\partial t}(x,y,t)=0 $$ with respect to $t$. The result is $$ \gamma(t) = \frac{1}{n+1} \begin{pmatrix} \cos nt + n\cos t\\ \sin nt + n\sin t \end{pmatrix} $$ which parametrizes the trajectory of a point on a circle of radius $\frac{1}{n+1}$ rolling on a circle of radius $\frac{n-1}{n+1}$.
This(That this trajectory has the $t$-$nt$ lines as tangents can also be proved geometrically by looking at the instantaneous motion of the point (it is rotated: it rotates about the point of contact ofbetween the two circles.)
The curve is called epicycloid, and the construction is attributed to Cremona, see for example this webpage.
It has $n-1$ cusp, which is different from your result. Probably the reason is that you consider a discrete set of lines. By the way, your pictures look similar to those for epicycloids for rational non-integer ratio of the circles radii, see the Wikipedia page.
Also I found a page discussing Mathematica codes for Cremona construction.