hr-studioEmergence · 02
A computational design primer · Growth & L-Systems

The rule hidden inside a fern

A fern, a tree, a river delta, a lightning bolt — they look intricate beyond planning, yet each is built by repeating one tiny rule at smaller and smaller scales. Learn the rule and you can grow a whole forest from a single line.

Scroll — repeat a rule
i.

A rule that feeds on itself

Draw a stem. At its tip, draw two smaller stems. At each of their tips, two smaller again. That's recursion — a rule applied to its own output, over and over.

Add levels and a bare line becomes a tree. Every branch is just a tinier copy of the whole.

Add levels of branching
6
ii.

Self-similar all the way down

Take a straight line and replace its middle with a little bump. Now do the same to every segment you just made. And again.

You get a fractal — a shape that looks the same however far you zoom in. This one is the famous Koch snowflake.

Increase the iterations
3
iii.

A tiny grammar grows a plant

Write the rule as letters: a symbol for "draw", symbols for "turn", and brackets for "remember this spot, branch, then come back." Replace every symbol with a small phrase, repeatedly, and read the result like turtle instructions.

That's an L-system — and a two-line grammar is enough to grow a convincing plant. Change its branching angle.

Grow it · bend the angle
4
24°
iv.

A pinch of randomness

Real plants are never identical twins. Let each branch wobble its angle and length a little, and every plant grown from the same grammar comes out unique — yet unmistakably the same species.

Replant a few times and meet the family.

Replant for a new one
v.

The grammar workbench

Everything in this chapter came from a rule rewriting itself. Now shape that rule with your hands: bend the angle, push the generations, tilt every branch toward the sun. Then press Mutate — six variants of your plant, each a single typo away, grow side by side. Click your favourite and mutate again. That loop — vary, select, repeat — is the engine of every garden on Earth.

shape the plant · then mutate it ↓ six mutations of your plant — click one to adopt it
Shape
Start from
Evolve
Intricacy without a designer: one rule, repeated, is enough to grow ferns, trees, snowflakes and forests.