Page 1 of 1

Spiral Star

Posted: Wed Jul 06, 2005 4:54 am
by antipex
Kind of a cool spiral star shape I came up with:

Code: Select all

startshape STAR

rule STAR {
	right { }
	up { }
	STAR { x 1 s 0.98 r 50 }
}

rule right {
	CIRCLE { s 0.25 }
	right { x 1 s 0.98 }
}

rule up {
	CIRCLE { s 0.25 }
	up { y 1 s 0.98}
}

Posted: Wed Jul 06, 2005 8:08 am
by chris
That's pretty cool! Check out this variation, which adds one more line (and therefore a crapload more recursion). It might take a LONG TIME to render...I just might print this when I get a chance, and when I can let my computer churn for a bunch of hours.

Code: Select all

startshape STAR 

rule STAR { 
   right { } 
   up { } 
   STAR { x 1 s 0.98 r 50 } 
} 

rule right { 
   CIRCLE { s 0.25 } 
   right { x 1 s 0.98 } 
   STAR {s 0.2}
} 

rule up { 
   CIRCLE { s 0.25 } 
   up { y 1 s 0.98}
}

Posted: Wed Jul 06, 2005 3:13 pm
by antipex
Pretty cool - you just have to catch it between updates - sometimes for some reason it goes back to the original look :?: