GROWTH & BRANCHING

A whole fern frond is contained in one rewriting rule applied five times. Aristid Lindenmayer’s L-systems, introduced in 1968, start from a short string and replace each character with a longer one, after which a turtle reads the final string: F means move and draw, square brackets open and close a branch, plus and minus turn right and left. The binary tree turns 22 degrees, the fern 25, while the Koch snowflake grows a spike on every segment so its perimeter runs to infinity around a finite area.

▸ Loading the axiom & rewrite rules…
▸ Building the growth grammar (L-system)
▸ Calibrating the turtle (F · + · − · [ · ])
▸ Generating a fractal tree from one line of rule
▸ Planting the seed — letting structure grow…
▸ Ready — Online. ✅
0%
⌂ Complex systems

Simulation room Growth & branching

L-Systems
Online
axiom + rules → tree
Active rule
🌳 Cây nhị phân
axiom → rule · growth level
Rewrite rule—
Iterations (n)—
Drawn segments—
Turn angle—
Branch depth—
Drawn—
The idea
This whole tree springs from one line of rule repeated a few times. The whole repeats inside each branch (recursion) — the same grammar nature uses for trees, lungs, blood vessels, rivers & lightning.
—
Brown trunk → green tips by branch depth · adjust iterations & turn angle on the right · try "Grow gradually"
Your browser has canvas disabled.
Segments per iteration (exponential blow-up) segments
About L-Systems

A whole fern frond is contained in one rewriting rule applied five times. Aristid Lindenmayer’s L-systems, introduced in 1968, start from a short string and replace each character with a longer one, after which a turtle reads the final string: F means move and draw, square brackets open and close a branch, plus and minus turn right and left. The binary tree turns 22 degrees, the fern 25, while the Koch snowflake grows a spike on every segment so its perimeter runs to infinity around a finite area.

Related topics in Complexity & Chaos