Cardiod (Epicycloid, Hypocycloid) via rolling coin

Author:
talljerome
Toggle "animate" to start the outer (planet) coin rolling/revolving round the inner (sun) coin. Toggle "trace" to leave a trail of the pink point, and "curve" to show the path that it travels. The "interval multiplier" extends the trace/curve to cover multiple revolutions. A point on a circle rolling along the outside of a fixed circle traces out an "epicycloid." If the rolling circle is "flipped" to roll inside the fixed circle, a "hypocycloid" is traced. With a little playing around, it should become evident what any other sliders/toggles do.