$$$APPLET

Hypotrochoid. Author Kabát Vladimír
For more information see http://mathworld.wolfram.com/Hypotrochoid.html

Source code