Make Your Own Spirograph

To draw a spirograph, you need a large, unmoving circle and a smaller, moving circle. The small circle rotates inside the large circle, bringing along a pen that draws the spirograph. To make sure the spirograph fits on the screen, the following rules apply:
1. The larger radius is less than 300.
2. The smaller radius is smaller than the larger radius.
3. The pen offset is less than three times the smaller radius.



We also need to choose where the pen goes relative to the center of the small circle.


Graph