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.
Source code: lsys3D12
Built with Processing