Conifer

If you have a design you're proud of, share the cfdg file here. It's also a good place to ask for feedback and collaborate.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
User avatar
aaronstj
Posts: 66
Joined: Wed Jul 06, 2005 11:34 am
Location: Seattle

Conifer

Post by aaronstj »

Here's my obligitory crappy first CFDG:

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 {}
}

Post Reply