Welcome to the L-System Garden!
This is a small demo that shows how to generate plants using L-Systems, a simple set of rules that creates complex, natural-looking growth.
Pick one of the existing examples, or play around with the settings to create new types of plants.
Hover over each setting (or tap on touch devices) to learn what each control does.
If you are feeling daring, you can manually modify the Raw System text that codifies the L-System rules:
- F draw forward (a branch segment)
- + turn right
- - turn left
- [ save state (start a branch)
- ] restore state (return to previous branch)
Repeating the rules over and over creates complex fractal shapes, like plants!
Happy gardening!