Date: Tue, 10 Dec 1996 21:02:39 GMT Server: NCSA/1.4.2 Content-type: text/html Last-modified: Mon, 02 Sep 1996 03:26:50 GMT Content-length: 1122 Trees & Ferns

Trees & Ferns

You're not Java capable! Sorry, no cool applets for you.


This little applet actually does quite a few nifty things. In addition to drawing pretty reasonable looking trees and ferns using an LGrammer algorithm, the applet is double-buffered (no flicker) and multithreaded. One thread is solely responsible for drawing the tree/fern in an offscreen buffer. The main thread handles UI and periodically copies whatever the other thread has finished out of the offscreen buffer and plops in into the main window.

The code was originally written in C++ for Win95 and was ported to Java.


Greg Linden

glinden@cs.washington.edu (Comments, suggestions, criticisms are welcome!)

Last modified: 8/31/96