Applet
FRACTAL
 
 
PRESENTATION
 

This Java applet illustrates how simple fractals are drawn. It animates different figures: one called the "dragon", three plant structures, a snowflake and one that looks like a wave. If you are interested in fractals, look at the page .

 
EXAMPLES
 

To use this applet, you have to indicate the size of the display (in pixels), its background and foreground colors, the refreshing period of the animation (in milliseconds) and the maximal recursivity depth of the fractal. You choose which fractal you want to animate by calling the corresponding Java class.

 
The Dragon
 

This fractal, implemented by class DragonFractal, is called the "dragon", and is displayed up to depth 12.

 
 
The Plants
 

The three plant fractals displayed below are described page 25 of the book "The Algorithmic Beauty of Plants", by Przemyslaw Prusinkiewicz and Aristid Lindenmayer (Springer-Verlag, 1990). You can change some parameters of the fractals by pressing keys. The fractals are implemented by classes PlantIFractal, PlantIIFractal and PlantIIIFractal.

Click to get control.
 
Click to get control.
 
Click to get control.
 
 
The Snowflake
 

This fractal, implemented by class SnowflakeFractal, is displayed up to depth 4.

 
 
The Wave
 

This fractal, implemented by class WaveFractal, is displayed up to depth 11.

 
 
SOURCE CODE
 

Here is the source code of the files needed for the applets.

 
DOWNLOADING
 

Click here to download the applets and their source code.