#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

Golang Weekly

Checkout Go Weekly for the latest articles, tutorials and projects about Go.