Spiral

This program draws lovely spirals on the screen as the mouse is moved. It demonstrates the use of the 'double' primitive as well as the use of trigonometric functions from the Math class.

Note: This demo requires a Java enabled browser. If you see this message then your browser either doesn't support Java or has had Java disabled.

Click below to download the source files for Spiral.