To view this content, you need to install Java from java.com

Source code: hypocycloid01     Built with Processing

Doctor Matt >> Graphics

This applet displays the curve defined by the parametric equations




These include many hypo- and epicycloids, and hypo- and epitrochoids when m=n.

Note the parameters m and n are restricted to integers.