Labs / Computer Science

L-System Fractals

An L-system starts from a short string (the axiom) and rewrites every symbol using production rules, over and over. A turtle then reads the result: F and G draw, + and - turn, and [ ] branch. Pick a preset and watch it grow, then edit the rules to see what you can make.

Labs / Computer Science / L-System Fractals

Computer Science20–30 minFoundation

L-System Fractals

An L-system starts from a short string (the axiom) and rewrites every symbol using production rules, over and over. A turtle then reads the result: F and G draw, + and - turn, and [ ] branch. Pick a preset and watch it grow, then edit the rules to see what you can make.

Why it matters

Why explore this?

Computer science turns clear rules into reliable processes. This model lets you step through those rules and see how each decision changes the result.