For K-12 Students · L-System Fractals
L-System Fractals for a decision tree
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 decision tree live below — adjust the inputs and watch it respond, right in your browser.
L-System FractalsLive
turtle graphics · rewriting rules
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.
Data Inspector
Angle25°
Symbols0
AxiomX
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
More with L-System Fractals
L-System Fractals for a neural networkL-System Fractals for a sorting algorithmL-System Fractals for a search treeL-System Fractals for a hash tableL-System Fractals for a recommendation engineL-System Fractals for an image classifierL-System Fractals for a chatbotL-System Fractals for a pathfinding AI
Frequently asked questions
- Is this good for k-12 students?
- Yes — this version of "L-System Fractals for a decision tree" 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.