this is a proof of concept of l-system tree/plant generator or a growth simulator using lineRenderer of unity engine.
video demonstration
- copy scripts to your projects.
- add a
+ > EmptygameObject of any name withLsystem.csscript attached. - make a prefab of
+ > Effects > line. - adjust end cap vertices of the prefab if you wish.
- attach
Twig.csscript to the prefab. - set
Branchparameter of the first added gameObject as the prefab. - BUILD && RUN.
