#Skip to menu

L-system examples


Here are some examples of rules for a L-system using xojoc/lsystem.

Plant 1

Code Plant 1

Plant 2

Code Plant 2


Code Tree

Pythagoras tree

Code Pythagoras tree

Koch curve

Code Koch curve

Sierpinski triangle

Code Sierpinski triangle

Dragon curve

Code Dragon curve

Gosper curve

Code Gosper curve

Hilbert curve

Code Hilbert curve