Spiral Star

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
antipex
Posts: 5
Joined: Wed Jul 06, 2005 4:29 am
Location: Queensland, Australia
Contact:

Spiral Star

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

User avatar
chris
Site Admin
Posts: 72
Joined: Wed May 04, 2005 10:57 am
Location: New York, NY
Contact:

Post 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}
}
Current Project: I'm creative director of OKCUPID at http://www.okcupid.com

antipex
Posts: 5
Joined: Wed Jul 06, 2005 4:29 am
Location: Queensland, Australia
Contact:

Post by antipex »

Pretty cool - you just have to catch it between updates - sometimes for some reason it goes back to the original look :?:

Post Reply