2D L-System Gallerie

<< XLinden - HP
#Snowflake from "The Algorithmic Beauty of Plants"
#TABOP-1.1.lin

steps=4
gamma=60
axiom=!(0.2)+(30)F--F--F-
F->F+F--F+F
#Koch Island from "The Algorithmic Beauty of Plants"
#TABOP-1.6.lin

steps=3
gamma=90
axiom=!(0.2)F-F-F-F
F->F-F+F+FF-F-F+F
#Koch Island and Lakes from "The Algorithmic Beauty of Plants"
#TABOP-1.8.lin

steps=2
gamma=90
axiom=!(0.2)F+F+F+F
F->F+f-FF+F+FF+Ff+FF-f+FF-F-FF-Ff-FFF
f->ffffff
#From "The Algorithmic Beauty of Plants"
#TABOP-1.9a.lin

steps=4
gamma=90
axiom=!(0.2)F-F-F-F
F->FF-F-F-F-F-F+F
#From "The Algorithmic Beauty of Plants"
#TABOP-1.9b.lin

steps=4
gamma=90
axiom=!(0.3)F-F-F-F
F->FF-F-F-F-FF
#From "The Algorithmic Beauty of Plants"
#TABOP-1.9c.lin

steps=3
gamma=90
axiom=F-F-F-F
F->FF-F+F-F-FF
#From "The Algorithmic Beauty of Plants"
#TABOP-1.9d.lin

steps=4
gamma=90
axiom=F-F-F-F
F->FF-F--F-F
#From "The Algorithmic Beauty of Plants"
#TABOP-1.9e.lin

steps=4
gamma=90
axiom=!(0.3)F-F-F-F
F->FF-F--F-F
#From "The Algorithmic Beauty of Plants"
#TABOP-1.9f.lin

steps=4
gamma=90
axiom=!(0.2)F-F-F-F
F->F-F+F-F-F
#Dragoncurve from "The Algorithmic Beauty of Plants"
#TABOP-1.10a.lin

steps=10
gamma=90
axiom=!(0.2)F(1,0)
F(a,b):(b=0)->F(1,0)+F(1,1)+
F(a,b):(b=1)->-F(1,0)-F(1,1)
#Sierpinski Gasket from "The Algorithmic Beauty of Plants"
#TABOP-1.10b.lin

steps=6
gamma=60
axiom=-(90)!(0.2)F(1,1)
F(a,b):(b=0)->F(1,1)+F(1,0)+F(1,1)
F(a,b):(b=1)->F(1,0)-F(1,1)-F(1,0)
#Hexagonal Gospercurve from "The Algorithmic Beauty of Plants"
#TABOP-1.11a.lin

steps=4
gamma=60
axiom=F(1,0)
F(a,b):(b=0)->F(1,0)+F(1,1)++F(1,1)-F(1,0)--F(1,0)F(1,0)-F(1,1)+
F(a,b):(b=1)->-F(1,0)+F(1,1)F(1,1)++F(1,1)+F(1,0)--F(1,0)-F(1,1)
#From "The Algorithmic Beauty of Plants"
#TABOP-1.24a.lin

steps=5
gamma=25.7
axiom=!(0.3)F
F->F[+F]F[-F]F
#From "The Algorithmic Beauty of Plants"
#TABOP-1.24b.lin

steps=4
gamma=20
axiom=F
F->F[+F]F[-F][F]
#From "The Algorithmic Beauty of Plants"
#TABOP-1.24c.lin

steps=4
gamma=22.5
axiom=F
F->FF-[-F+F+F]+[+F-F-F]
#From "The Algorithmic Beauty of Plants"
#TABOP-1.24d.lin

steps=7
gamma=20
axiom=!(0.5)X
X->F[+X]F[-X]+X
F->FF
#From "The Algorithmic Beauty of Plants"
#TABOP-1.24e.lin

steps=7
gamma=25.7
axiom=!(0.5)X
X->F[+X][-X]FX
F->FF
#From "The Algorithmic Beauty of Plants"
#TABOP-1.24f.lin

steps=5
gamma=22.5
axiom=!(0.2)X
X->F-[[X]+X]+F[+FX]-X
F->FF
#From "The Algorithmic Beauty of Plants"
#TABOP-1.31a.lin

steps=30
gamma=22.5
ignore=+-F
axiom=F1F1F1
0<0>0->0
0<0>1->1[+F1F1]
0<1>0->1
0<1>1->1
1<0>0->0
1<0>1->1F1
1<1>0->0
1<1>1->0
+->-
-->+
#From "The Algorithmic Beauty of Plants"
#TABOP-1.31b.lin

steps=30
gamma=22.5
ignore=+-F
axiom=F1F1F1
0<0>0->1
0<0>1->1[-F1F1]
0<1>0->1
0<1>1->1
1<0>0->0
1<0>1->1F1
1<1>0->1
1<1>1->0
+->-
-->+
#From "The Algorithmic Beauty of Plants"
#TABOP-1.31c.lin

steps=26
gamma=25.75
ignore=+-F
axiom=F1F1F1
0<0>0->0
0<0>1->1
0<1>0->0
0<1>1->1[+F1F1]
1<0>0->0
1<0>1->1F1
1<1>0->0
1<1>1->0
-->+
+->-
#From "The Algorithmic Beauty of Plants"
#TABOP-1.31d.lin

steps=24
gamma=25.75
ignore=+-F
axiom=F0F1F1
0<0>0->1
0<0>1->0
0<1>0->0
0<1>1->1F1
1<0>0->1
1<0>1->1[+F1F1]
1<1>0->1
1<1>1->0
+->-
-->+
#From "The Algorithmic Beauty of Plants"
#TABOP-1.31e.lin

steps=26
gamma=22.5
ignore=+-F
axiom=F1F1F1
0<0>0->0
0<0>1->1[-F1F1]
0<1>0->1
0<1>1->1
1<0>0->0
1<0>1->1F1
1<1>0->1
1<1>1->0
+->-
-->+
#From "The Algorithmic Beauty of Plants"
#TABOP-1.37a.lin

define c=1
define p=0.3
define q=0.7
define h=0.4583

steps=6
gamma=86
axiom=-(90)!(0.05)F(15)
F(x)->F(x*p)+F(x*h)--F(x*h)+F(x*q)
#From "The Algorithmic Beauty of Plants"
#TABOP-1.39.lin

define R=1.456

steps=10
gamma=85
axiom=A
A->F(1)[+A][-A]
F(s)->!(s/12)F(s*R)
<< XLinden - HP