fractals

introduction
This is my page for the fractals lecture 2007/2008 at the Vienna University of Technology. I have done two exercises as Java Applets. The first exercise is a Mandelbrot/Juliaset viewer and the second is a Diffusion Limited Aggregation generator. Please follow the links below for accessing the source code and the applets on seperate pages.

mandelbrot/juliaset
The Mandelbrot/Juliaset viewer shows a Mandelbrot fractal. You can press the left mouse button to show the Juliaset at this position. Pressing the left mouse button again will go back to the Mandelbrotset. Please note that the Mandelbrotset is only calculated if necessary (e.g. at the beginning or when changing the color style).

Pressing the right mouse button will change the color style of the fractals. You will see some additional information on the panel including mouse coordinates and the maximum iteration depth. Below you could see a Mandelbrot Fractal and a corresponding Juliaset.

Mandlebrot/Juliaset Java Applet
Mandlebrot/Juliaset Highlighted Source Code

dla generator
The DLA generator is simply started with the "Start" button on the top/right. After starting the button text changes to "Stop". If you press this button the processing is stopped and the text becomes "Start" again. Please note that you therefore can only restart the calculation from the beginning (there is no possibility to pause). The single points are colored depending on their age. Early points are painted red and later points become gradual darker. During the DLA processing the random walks are shortly highlighted in yellow if they are successful. When reaching a maximum of 1000 points the calculation is stopped automatically.

 Below the Start/Stop button you will find two boxes where you can select the type of start and target region. There are two start regions (circle, rectangle) and two target regions (point, line). Please select the desired regions before starting the calculation. You will see some additional information on the panel about the count of DLA points, the current (virtual) screen size, the (virtual) pixel size and the actual dimension of the start region. On the left you could see a screenshot of the generation process including a highlighted random walk (in yellow).

DLA Generator Java Applet
DLA Generator Highlighted Source Code