L-system
T(i)     :  Twig level i, T(0): draw twig
L(i)     :  Leaf level i, T(0): draw leaf/flower
t        :  Translate to end of twig
s        :  Scale 
r1,r2,r3 :  Rotate around twig top (evt. random)

T(i) = L(i-1) 
L(i) =s( t[T(i-1)] r1[L(i-1)] r2[L(i-1)] r3[L(i-1)])  

Building the tree Turning the tree
Simple tree Povray source Tree with flowers source
 

© Mathematik.com, 1999

 

Ѻ˹áྨԡҪ