I played with CFA for two days...

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

I like better...

the green background image
3
50%
the light blue background image
3
50%
 
Total votes: 6

loxady
Posts: 2
Joined: Fri Jun 13, 2008 12:24 am

I played with CFA for two days...

Post by loxady »

here is the result =)

Image

Image

Code: Select all

startshape sea

background { hue 190 b -.45 sat .5}


rule WAVE {

	SQUARE {}

	WAVE { s 0.95 y 0.3  b .1 }
        FOAM { }


}

rule WAVE {

	SQUARE {}

	WAVE { y 0.3 r -4  }
        FOAM {r 100}

}



rule FOAM {

	FOAM {s 0.5 r 110 y 6.2 }

	FOAM {s 0.5 r 105 y 6.2  }

}

rule FOAM {

	DROP {}

	FOAM {s 0.5 r 100 y 6.2 }

	//FOAM {s 0.5 r 85 y 6.2  }

	//THORNS {s 0.5 y 6.2 }


}




rule DROP {
CIRCLE {}
DROP { s .6  y .4  r 1}

}

rule sea { 

WAVE {x -2.5  y 1.3 b -.9 h 1 sat .5 r -9 hue 180}
WAVE {x .9 y 2.31 b -.9 h 1 sat .8 r -13 hue 240 s .5}
SAND {}
SAND {x 1}
SAND {x 3}
SAND {x 5 r 10}
SAND {x 7 r 20}
SAND {x 8 r 30}
HORIZON {}

}

rule SAND {

CIRCLE{s .3 .12 y -4 x -8 r 10  hue 30 sat .8 b .4}
SAND {s .95 x .05 y .1 r -.8 sat -.1 b .4}
}

rule SAND {

CIRCLE{s .3 .15 y -2 x -8 r 10  hue 30 sat .8 b .4}
SAND {s .95 x .04 y .1 r -.2 sat -.5 b .4}
}

rule SAND {

CIRCLE{s .4 .2 y -3 x -8 r 10  hue 30 sat .8 b .4}
SAND {s .99 x .04 y .02 r -.5 sat -.5 b .4}
}

rule HORIZON {
SQUARE {b -1 s .3 y 4 x -8 }
HORIZON { y 0.17 x .01 s .96 }
}

rule HORIZON {
SQUARE {b -1 s .3 y 4 x -8 }
HORIZON { y 0.17 x .01 s .96 flip 90 }
}


like it? I used http://www.dospeixos.net/projects/contexteditor/ in kubuntu, it rocks! (it does not recognize z parameters, "path" reserved word or loop notation, tough).

also: did you see the port to javascript and canvas of CFA? http://azarask.in/projects/algorithm-ink/#17d75094 amazing!

User avatar
sicvolo
Posts: 8
Joined: Sat May 03, 2008 12:08 am

Re: I played with CFA for two days...

Post by sicvolo »

Try not using warm colors for the blue background or using color triades for the black background. it'll look better.

User avatar
mtnviewmark
Site Admin
Posts: 81
Joined: Wed May 04, 2005 12:46 pm
Location: Mountain View, CA
Contact:

Post by mtnviewmark »

Actually, I like both and think it depends on the context (!) for the image to know which would work better. I could see situations, or intents, for which each would work.

Either way, let me gently prod you to submit it to the gallery! You can do so from right with the program: Render a variation you like, and then File menu > Upload to Gallery...
I'm the "m" in "mtree.cfdg"

User avatar
askiopop
Posts: 12
Joined: Wed Mar 04, 2009 7:07 pm
Location: Guess

Post by askiopop »

the light blue looks more oceany
thank you

Post Reply