rose

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
Sendell
Posts: 5
Joined: Thu Jul 07, 2005 5:10 am
Location: Belgium

rose

Post by Sendell »

Wanted to make a rose, then I realised color isn't implemented yet.

Well, this came out so far. I think it's good enough to share.

Code: Select all

startshape rose

rule rose {

	leaf {}
	leaf { r 90 }
	leaf { r 180 }
	leaf { r 270 }
	rose { r 14 s 0.95 b 0.03 }
}

rule leaf {
	SQUARE {r 15 x 0.9 s 0.9 b 0.05 skew 15 15}
}

t3knomanser
Posts: 21
Joined: Wed Jul 06, 2005 4:53 pm

Post by t3knomanser »

Here, make it a little more organic this way:

Code: Select all

startshape rose

rule rose {

   leaf {}
   leaf { r 90 }
   leaf { r 180 }
   leaf { r 270 }
   rose { r 14 s 0.95 b 0.03 }
}

rule leaf {
   SQUARE {r 15 x 0.9 s 0.9 b 0.05 skew 15 15}
}

rule leaf {
   SQUARE {r -15 x 0.9 s 0.9 b 0.05 skew -15 -15}
}

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

Post by robo git »

If the CIRCLE object is used in place of the SQUARE, it looks even more organic / rose-like, IMO.

Nice.

t3knomanser
Posts: 21
Joined: Wed Jul 06, 2005 4:53 pm

Post by t3knomanser »

Yep. That's a great deal better looking.

Leech
Posts: 2
Joined: Tue Jul 12, 2005 1:59 pm
Location: Argentina
Contact:

Post by Leech »

I'm getting an error:

Line 13: Parse error - syntax error

where you do: skew 15 15

is possible to get two parameters for an attribute?

also saw that in others cfdgs


UPDATE: sorry, i've upgraded to version 1.0 v4 and now works!

Post Reply