|
#From "The Algorithmic Beauty of Plants"
#TABOP-2.6a.lin
define r1=0.9
define r2=0.6
define a0=45
define a2=45
define d=137.5
define wr=0.707
steps=10
axiom=A(1,0.1)
A(l,w)->!(w)F(l)[&(a0)B(l*r2,w*wr)]/(d)A(l*r1,w*wr)
B(l,w)->!(w)F(l)[-(a2)$C(l*r2,w*wr)]C(l*r1,w*wr)
C(l,w)->!(w)F(l)[+(a2)$B(l*r2,w*wr)]B(l*r1,w*wr)
|