Spiral Stars

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
dzeni
Posts: 18
Joined: Wed Sep 28, 2005 2:18 pm
Location: Auckland, New Zealand
Contact:

Spiral Stars

Post by dzeni »

I hope I get a lot better at this!

Below is what I have come up with so far.

---
startshape maggi
background { b -1}

rule multiply
{
TRIANGLE{}
maggi{}
}

rule maggi
{
TRIANGLE{hue 0 sat 1 brightness .9}
TRIANGLE{r 60 brightness .9}
maggi{x 2.5 size .9 r 75 hue 7 sat 1}
}
---

robo git
Posts: 47
Joined: Sat Jul 09, 2005 11:36 pm
Location: looking for his marbles
Contact:

Post by robo git »

Heh - heaps better then my first attempt.

Here's the same code cleaned up (only a little bit) for you:

Code: Select all

startshape maggi
background { b -1}

rule maggi
{
	TRIANGLE{hue 0 sat 1 brightness .9}
	TRIANGLE{flip 180 hue 0 sat 1 brightness .9}
	maggi{x 2.5 size .9 r 75 hue 7 sat 1}
}
 

dzeni
Posts: 18
Joined: Wed Sep 28, 2005 2:18 pm
Location: Auckland, New Zealand
Contact:

Thanks

Post by dzeni »

Thanks for the encouragement and the cleaned up code.

Looking at the "clean" code helped me to get my head around the whole "spiral" thing.

Post Reply