L-System Fractal Plant (Lindenmayer System)
Developed by theoretical biologist Aristid Lindenmayer in 1968.
This model uses a recursive string rewriting system (grammar) to simulate the growth processes of plant development. Starting from a single axiom (seed), rules are applied iteratively to generate a complex branching structure.
Here, we use a 2D text-based "turtle graphics" renderer. The string commands the turtle to move forward (drawing a branch), turn left/right, and save/restore its position (to create branches). As generations pass, a beautiful fractal weed organically unfolds on the text grid.