Page 1 of 1

My first tree

Posted: Sun Jun 12, 2005 12:09 am
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{}
}
		

Posted: Sun Jun 12, 2005 2:12 am
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.

Posted: Mon Jun 13, 2005 8:45 am
by aqua_scummm
Thats exactly what I meant to do :mrgreen:.

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