A Lindenmayer system (L-system) is a parallel rewriting system and a type of formal grammar. Originally developed to model the growth processes of plant development.
In this ASCII translation, the fractal tree is drawn recursively on a text grid using Bresenham's line algorithm. We map the branches to bright green characters (`*`) over a dark background. Click to grow a new tree species.