This applet is one of the first pieces of Java code I've ever written.
It dates back to 1996, or possibly 1997, since I don't think I was using Java 1.1 in 1996 yet.
For more information, see
Wikipedia: Lissajous curves.
The
source code is available, but it isn't pretty :-)