Demonstration of Lindenmayer systems (L-systems) in python.
Execute ./main.py
to run the demonstration.
- 'r': reset demo
- 'n': generate and draw next evolution
- 'c': clear canvas
- 'o': toggle 'overwrite' status; if on, the canvas will be cleared each evolution. If off, each evolution will be drawn over the previous in a different (randomly selected) colour.
- Escape: close demonstration