PPolySim OS
For K-12 Students · L-System Fractals

L-System Fractals for a game AI

Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a game AI live below — adjust the inputs and watch it respond, right in your browser.

L-System FractalsLive

Controls

Presets

A Lindenmayer system grows a string by rewriting each symbol with a rule, then reads it as turtle commands: F draw, +/− turn, [ ] push/pop. Simple rules, botanical complexity.

Reading this result: After 5 rewrites the string holds 0 symbols — each pass replaces every symbol at once, so detail multiplies exponentially, not linearly.
▶ Run in Python

Data Inspector

Angle25°
Symbols0
AxiomX

Governing equation

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with L-System Fractals

Frequently asked questions

Is this good for k-12 students?
Yes — this version of "L-System Fractals for a game AI" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.