This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

INSTRUCTIONS:

Click and drag to rotate
Shift-drag to zoom

1, 2, 3, and 4 to see pre-set rules

Left and Right arrow keys to change turn angles (try holding them down!)
Up and Down arrow keys to change turn angle increment
A and Z to change re-write depth

N to to generate a new random L-system
E to enter a new L-system rule
  (type any combination of the characters F, +, -, a, z, [, ], then press enter)

ABOUT:

A string of symbols, known as the rule, is interpreted as a sequence of movements. "F" means step forward, + and - mean turn left and right, a and z mean turn up and down. These movements leave a trace, resulting in a 3D object. The rule is re-written, with the symbol F being replaced by the entire rule. The re-write depth is the number of times this process is done. The re-write process causes L-system shapes to have self-similarity, or fractal-like qualities.

Read more on L-Systems at wikipedia

Source code: lsys3D12

Built with Processing