top of page

Plant Generation with L-Systems

L-System

GitHub-Mark-Light-120px-plus.png

I wanted to try to create plants procedurally in 3D, based on Lindenmayer's formula. This takes a starting axiom (string) and expands this string according to predefined rules.

LSystems_Walkthrough
ezgif.com-gif-maker (5).gif

The resulting string is then interpreted  as different parts of the plant, and instantiated through turtle graphics

Instantiation

"Species" are scriptable objects, with a defining set of characteristics for that type of plant.

Randomization can be controlled from within the RuleSet, but will otherwise fall through to default values set in the system turtle

2021-09-22.png
2021-10-10 (3).png

A 'RuleSet' defining a species

bottom of page