Rotate Example
The applet below will recursively rotate an
image by exchanging quadrants. Click on the
image to start the rotation. It is not
very speedy. It also exposes a bug in Netscape. It uses
XOR rendering of images which only seems to work in the JDK.
Try using appletviewer
The source.
Here is another version. This version does
the same thing, but is iterative. Instead of
depth first, it uses a breadth first approach.
The source.