the second is for appletviewer and Netscape Communicator the third is for anything that doesn't understand applets. -->
Butterfly is available as:
This applet shows an elaborate curve called the butterfly curve, described by T. Fay, American Mathematical Monthly, 96(5), May, 1989. Above, the applet has been implemented directly in Java (see the source code).