3D node
L-System
Grows a plant or fractal from text. Type an axiom and rewrite rules, set the angle and the number of generations, and a 3D turtle draws it as a tube mesh and a followable curve.

What it does
L-System is a 3D node: it builds, changes or lights geometry that Render 3D turns into a picture. It has no input and gives 3D shape out, so it starts a chain.
Try it
Start with the rule X=F+[[X]-X]-F[-FX]+X;F=FF for a fern.
Inputs and outputs
Inputs
- None. It starts a chain.
Outputs
- 3D shape out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| generations | 0 to 10 | 5 |
| angle | 0 to 180 | 25 |
| length | 0.005 to 1 | 0.100000001 |
| length / branch | 0.1 to 1.5 | 1 |
| radius | 0.001 to 0.2 | 0.0199999996 |
| radius / branch | 0.1 to 1.5 | 0.800000012 |
| sides | 3 to 24 | 6 |
| taper | 0 to 1 | 0.300000012 |
Example patch
This patch wires L-System to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# L-System: a starting patch for the L-System node
node 1 3D L-System
id node
pos 520 300
end
node 2 3D Render 3D
id view
pos 1080 300
end
node 3 Utility Output
id out
pos 1640 300
end
geo view 0 node
cable out 0 view