The butterfly curve of Temple Fay. The color is changed consecutively just for fun.

Click button to open the graphic in a separate full window. The figure can be rotated by clicking and dragging with a mouse or swiping on a touch device, as well as zoomed in or out with a mouse wheel or pinching on a touch device.

The transcendental curve is defined by the polar equation

\[ r = e^{\sin \phi} - 2 \cos( 4\phi ) + \sin^5 \left( \frac{ 2\phi - \pi }{ 24 } \right) \]

Complete code for this example:





Examples Page