L-System Plant Growth (2D)

This 2D canvas reimplements a real Lindenmayer-system grammar engine: an axiom string is rewritten iteration by iteration according to a per-species rule set, then a turtle interpreter walks the finished string to draw branches (F), turns (+/-), and stack pushes/pops ([/]) as a growing crown with leaves at every branch tip. Switch between Bush, Tree and Fern to see genuinely different grammars — not just a rescaled tree — and adjust iteration count, branching angle, segment length and growth speed to watch the string-rewriting process unfold live.