My first tree

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
aqua_scummm
Posts: 17
Joined: Sat Jun 11, 2005 5:44 am
Location: Redwood City, CA
Contact:

My first tree

Post by aqua_scummm »

Really simple. Havent gotten to rotating yet, but once I do I will get some cool stuff hopefully.

Render it a few times, sometimes it looks like crap.

Code: Select all

startshape go_vert

rule go_vert .6
{
	CIRCLE{}
	go_vert{y 3 b .005 s .95}
}
rule go_vert  .2
{
	CIRCLE{}
	split_left{b .005 s .95}
}
rule go_vert .2
{
	CIRCLE{}
	split_right{b .005 s .95}
}




rule split_right
{
	CIRCLE{}
	go_right{}
	go_vert{}
}
rule split_left
{
	CIRCLE{}
	go_left{}
	go_vert{}
}



rule go_right .3
{
	CIRCLE{}
	go_right {x -3 b .05 s .85}
}
rule go_right .3
{
	CIRCLE{}
	go_right {x -3 y 2 b .05 s .85}
}
rule go_right .3
{
	CIRCLE{}
	go_right {x -3 y -2 b .05 s .85}
}
rule go_right .1
{
	CIRCLE{}
	go_right{}
	go_vert{}
}





rule go_left .3
{
	CIRCLE{}
	go_left {x 3 b .05 s .85}
}
rule go_left .3
{
	CIRCLE{}
	go_left {x 3 y 2 b .05 s .85}
}
rule go_left .3
{
	CIRCLE{}
	go_left {x 3 y -2 b .05 s .85}
}
rule go_left .1
{
	CIRCLE{}
	go_left{}
	go_vert{}
}
		

bigelectricat
Posts: 19
Joined: Fri May 06, 2005 8:43 am

Post by bigelectricat »

it looks like the flares droped by allied bombers during night bombing missions in world war 2. the germans called it christmas trees because the flares looked like a christmas tree when viewed from the ground.

aqua_scummm
Posts: 17
Joined: Sat Jun 11, 2005 5:44 am
Location: Redwood City, CA
Contact:

Post by aqua_scummm »

Thats exactly what I meant to do :mrgreen:.

Seriously though, thanks! You really do learn something new everyday.

Post Reply