CFDG question
Posted: Wed Oct 04, 2006 12:02 am
Hi, I just needed a little bit of help on getting a project I'm working on to look right, but I can't seem to come up with the code to make delicate star shaped petals on the edges of the branches in the code. Any suggestions?
What commands do I need to enter?
Code: Select all
startshape TREES
background { hue 110.3 sat 0.7 b 0.9 }
rule TREES {
BRANCH { }
BRANCH { flip 90 }
}
rule SHAPE { SQUARE { } }
rule SHAPE 0.01 {
SQUARE { }
}
rule BRANCH {
SHAPE { hue 38.3 sat 0.9 b 0.4 }
BRANCH { y 0.90 s 0.99 r 0.5 }
}
rule BRANCH 0.08 {
BRANCH { flip 85 }
}
rule BRANCH 0.32 {
BRANCH { flip 90 }
}
rule BRANCH 0.01 {
BRANCH {flip 90}
}
rule BRANCH 0.25 {
BRANCH {flip 90}
}
rule BRANCH 0.05 {
BRANCH { s 0.85 r 15 }
BRANCH { s 0.80 r -15 }
}