Page 1 of 1

Spiral Stars

Posted: Wed Sep 28, 2005 2:31 pm
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}
}
---

Posted: Wed Sep 28, 2005 9:58 pm
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}
}
 

Thanks

Posted: Thu Sep 29, 2005 3:31 am
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.