Epicycloids and Hypocycloids
Negative frequencies let the circle role inside

The curves are defined by these equations:
c(t) = RR * [ cos(t), sin(t) ] +
sticklength * [ cos(frequency*t), sin(frequency*t)];
The curve and ists tangents are obtained
from a rolling construction.
The hypocycloids roll inside, the epicycloids roll outside