:: start ::

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
LaT3x
Posts: 68
Joined: Wed Jul 06, 2005 3:11 pm
Location: Madrid, Spain

:: start ::

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


User avatar
lagroue
Posts: 114
Joined: Wed Jul 06, 2005 11:33 pm
Location: Paris, France
Contact:

Post 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

User avatar
lagroue
Posts: 114
Joined: Wed Jul 06, 2005 11:33 pm
Location: Paris, France
Contact:

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

User avatar
LaT3x
Posts: 68
Joined: Wed Jul 06, 2005 3:11 pm
Location: Madrid, Spain

Post 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

User avatar
lagroue
Posts: 114
Joined: Wed Jul 06, 2005 11:33 pm
Location: Paris, France
Contact:

Post 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).

Post Reply