Moving beyond traditional Lindenmayer systems (L systems) solves their biggest computational limitation: blind local execution . Standard L systems rewrite strings in a topological vacuum, resulting in self intersecting branches, unrealistic uniform symmetry, and zero awareness of light, gravity, or neighboring obstacles unless heavily patched with expensive environmental queries.
Modern 3D botanical modeling and real time procedural engines replace string rewriting with spatial competition , fluid/nutrient transport mechanics , and continuous volumetric fields .
1. Space Colonization Algorithm (Runions et al.)
Instead of growing outward from the trunk via blind grammatical rules, the Space Colonization Algorithm (SCA) treats tree growth as a spatial competition for resources (light and space). It is the industry standard for real time engines and procedural asset pipelines because it naturally produces non intersecting, organic canopies that conform to arbitrary 3D envelopes.
Core Step by Step Loop
1. Seed the Crown Envelope: Populate a 3D volume (sphere, custom mesh, or voxel grid) with $N$ "attraction points" representing available light or nutrients. Place one or more initial "tree nodes" at the base.
2. Associate Attractors: For every attraction point $a$, find the closest tree node $v$ within an Radius of Influence ($d i$). If no node is closer than $d i$, the attractor remains unassociated for this tick.
3. Calculate Growth Vectors: For each tree node $v$ that has associated attractors $S(v)$, compute the normalized average direction toward all attractors in $S(v)$: