Page 1 of 1

Rose

Posted: Sat Aug 06, 2005 12:11 pm
by vino
Based on MtnViewMark post in http://chriscoyne.com/cfdgforums/viewtopic.php?t=11
i played a little and the result is right here:

Code: Select all

startshape ROSE 

rule ROSE {
 ROTATE_LEAF {}
 ROSE {x 1 y -.2 r 65 s 0.9 b 0.01}
}


rule ROTATE_LEAF {SIZE_LEAF {r 0} }
rule ROTATE_LEAF {SIZE_LEAF {r -5} }
rule ROTATE_LEAF {SIZE_LEAF {r 5} }

rule SIZE_LEAF {LEAF {s 1}}
rule SIZE_LEAF {LEAF {s 0.8}}
rule SIZE_LEAF {LEAF {s 1.2}}

rule LEAF {
 LEAF_SHAPE{}
 LEAF_SHAPE2{s 0.98 b 1}
}

rule LEAF_SHAPE2 { 
   ARM { r 0 } 
   ARM { r 120 } 
   ARM { r -120 } 
} 


rule LEAF_SHAPE{ 
   CIRCLE {x 0 y 0 s 1 b 1}
   ARM2 { r 0 } 
   ARM { r 120 } 
   ARM { r -120 } 
} 

rule ARM { 
   CIRCLE { } 
   ARM {r 5 x 0.1 y 0.1 s 0.85 } 
} 

rule ARM2 { 
   CIRCLE { } 
   ARM2 {r 5 x 0.1 y 0.1 s 0.85 b 0.2} 
} 

Posted: Fri Aug 12, 2005 8:53 pm
by shevegen
Nice , looks like a pencil sketch