Visualize an L-System
Expand and draw Lindenmayer systems with turtle graphics
Last updated: September 17, 2026
Examples:
- Quadratic Koch: axiom F, rule F → F+F-F-F+F, angle 90
- Plant: axiom X, rules X → F[+X]F[-X]+X and F → FF, angle 25
- Symbols: F draw, + left, - right, [ push, ] pop
Result actions
Copy or download the tool output, or share a link to Visualize an L-System.
Get new tools in your inbox
An occasional email when we ship new free tools. No spam, unsubscribe anytime.
Related tools
Generate a Sierpinski Triangle
Draw the Sierpinski triangle fractal at a chosen recursion depth
Generate a Hilbert Curve
Draw a Hilbert space-filling curve for a chosen order
Calculate Number Sum
Paste a list of numbers and get the sum, count, and average
Draw Pascal's Triangle
Generate Pascal's triangle with binomial coefficients for any row count
Generate Look and Say Sequence
Generate Conway's look-and-say sequence from any digit seed
Generate Pi Digits
Generate any number of digits of π with high precision
What is an L-System?
A Lindenmayer system (L-system) rewrites a string using production rules. When interpreted with turtle graphics, symbols like F draw forward while + and - turn, producing fractals and plant-like shapes.
Why Visualize L-Systems?
- Education: Show recursive rewriting visually
- Fractals: Recreate Koch, plant, and bush patterns
- Design: Prototype generative geometry quickly
How This Tool Works
Provide an axiom, rules (one per line as F -> F+F), iteration count, and angle. The tool expands the string, then draws F/G/A/B as forward strokes with [ and ] for branching. All work stays in your browser.
Related Tools
- Generate Random Matrix: Random numeric grids
- Draw Pascal's Triangle: Deterministic combinatorial arrays
- Generate Pi Digits: High-precision constants