Code: Select all
startshape stuff
rule stuff {
child {}
}
rule stuff .35 {
child { }
branchl { }
branchr { }
}
rule branchl {
stuff { s .5 r -30 b .1}
}
rule branchr {
stuff { s .5 r 30 b .1}
}
rule branchl {
stuff { s .5 r -45 b .1}
}
rule branchr {
stuff { s .5 r 45 b .1}
}
rule branchl {
stuff { s .5 r -60 b .1}
}
rule branchr {
stuff { s .5 r 60 b .1}
}
rule child {
stuff { y .975 s .975 r -1}
shape {}
}
rule child {
stuff { y .975 s .975 r 1}
shape{}
}
rule shape {
SQUARE {}
}