
Download: Fractal.exe
Algorithm:
Start with the center pixel painted white.
- 1) Choose a random point on the edge of the display area.
- 2) Move one space in a random direction (up/down/left/right).
- 3) If the new location is adjacent to a white pixel then paint the new location white
and go to step 1.
- 4) Go to step 2.