Fractal L-System Generator

remixed by tachyon321
See inside
Notes and Credits (added by tachyon321)

Man, I haven't been on in a long time. This is a complete rebuild of my earlier project of a similar name.

This project is based on L-systems (Lindenmayer systems). It builds a fractal based on an alphabet (symbols that cause the pen to draw or turn) and replacement rules (ex. replace F with -F++F-).

In this program, F, G, and H mean draw forward, A and B mean move without drawing, + means turn clockwise, - turn counterclockwise. [ stores the current position and ] restores it.

Type in the replacement rules and axioms without any spaces.

Example: Levy C Curve
Start Axiom: F
F -> -F++F-

First, it calculates the string of commands. Once it finishes, the screen turns black. Click on where you want the fractal to start and input the initial orientation. You can redraw the fractal and put it in a different position by pressing space.

Shared: 1 Aug 2011 Modified: 1 Aug 2011
Favorite this project 1
Love this project 6
Total views 1303
View the remix tree  3
More projects by tachyon321