Page 1 of 1

:: start ::

Posted: Sun Jul 24, 2005 5:35 pm
by LaT3x
Image

Inspired in lagroue's flowers ;)

Code: Select all

startshape D

rule D { C {r 15} C {r 45} }
rule C { B {} B {f -90} }
rule B { A {} A {r 60} A { r 120 } A { r 180 } A { r 240 } A { r 300 } }
rule A { CIRCLE {s 1 .0006} A {x .9 r 120.21 s .99 b .0005 } }


Posted: Sun Jul 24, 2005 10:43 pm
by lagroue
Sweet !

Here's a color version :

red : rule A { CIRCLE {s 1 .0008} A {x .9 r 120.21 s .99 b .01 } }
blue : rule A { CIRCLE {s 1 .0002} A {x .9 r 120.21 s .99 b .003 } }
green : rule A { CIRCLE {s 1 .0006} A {x .9 r 120.21 s .99 b .0005 } } (your original rule)

I guess there are other ways than Photoshop to mix these layers. See, free. The Gimp should be one. Maybe some command line tools can do the trick too. I'm not aware enough of tools. Yet,

Image

Posted: Sun Jul 24, 2005 10:59 pm
by lagroue
Your rule A { CIRCLE {s 1 .0006} A {x .9 r 120.21 s .99 b .0005 } }, but
red: TRIANGLE
blue: SQUARE
green: CIRCLE

Image

Weird...

Posted: Mon Jul 25, 2005 3:13 am
by LaT3x
:o The color versions are so beautiful
How mix the differente color layers in photoshop?.... multiply?...

P.D: the skew property has opened a new dimesion of symmetry

Posted: Mon Jul 25, 2005 4:05 am
by lagroue
LaT3x wrote:How mix the differente color layers in photoshop?.... multiply?...
Instead of using the "layers" palette, I use the "channels" one : there is a red, a blue and a green channel, whose composite is the whole picture.

(You know that every onscreen pixel is made of a 3 thirds of pixels, each of is own color. We could also play in the print model, with 4 channels, yellow, cyan, magenta and black, the same colors a printer uses)


I didn't use layers because I didn't want to "cheat" with the mathematical abstractness of context free grammars. I mean, as little photoshopping as possible is better. If not, we could produce any picture, and the game would be less funny. :twisted: We can, of course, but this is beyond this forum, isn't it ? :roll:


About the method : I should have talked about nebula pictures, instead of buddhabrot.

And a last reason why this method is clean : it could be implemented in Context Free (even if we know now that the color model chose another direction).