Spiral star thing

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
nationElectric
Posts: 1
Joined: Wed Jul 06, 2005 4:38 pm
Contact:

Spiral star thing

Post by nationElectric »

Howdy howdy, Context Free is great! I decided to try it out by reproducing a piece of vector art I'd created. Kind of a hack, but there ya go:

Code: Select all

startshape logo

rule logo {
	CIRCLE { size 3 }
	star { s 1.04 r 2 }
	star { s 1 brightness 1 }
	star { s .7 }
}

rule star {
	arm { r 0 }
	arm { r 36 }
	arm { r 72 }
	arm { r 108 }
	arm { r 144 }
	arm { r 180 }
	arm { r 216 }
	arm { r 252 }
	arm { r 288 }
	arm { r 324 }
}

rule arm {
	CIRCLE { x .8 }
	arm { y 0.2 s .9 r 1.8 }
}

Image

Post Reply