LSystem demonstration for Unity.
LSystem demonstration for Unity. Based on the book The Algorithmic Beauty of Plants
The above example has a fully deterministic "random" loop.
Accurately reproduces patterns shown in the book.
A naive implementation using text. Quite slow but easy to understand. It allows you to map characters to arbitrary behavior by extending LSystem.Module
It's pretty extensible but has some performance issues.
There is also a procedural growing leaf script that generates a mesh on the fly and connects to the LSystem.