$$$APPLET

Cardioid. Author Geri Julian
for more information see http://mathworld.wolfram.com/Cardioid.html

Source code