This applet was written by Karl Hornell, who you can find at his site.

The source code.