Fractal Tree Generator (2D)

This 2D canvas reimplements the same L-system branching rule as the 3D fractal tree: a single trunk recursively splits into 2–3 shorter, thinner branches at a set angle, and the rule repeats down to the chosen recursion depth. Drag the branch-angle, length-ratio and depth sliders to reshape the crown instantly, switch between a summer (green) and autumn (russet) leaf palette, and hit Regrow to reseed the small random jitter that keeps every tree looking organic rather than mechanically symmetric.