Procedural Modeling of A Tree

This project recursively generated a tree using procudural modeling technique. The grammar used is:

T(n+1) -> < [3T(n)] {T(n)} > 1

where T(n) is the n-th generation of the tree and T(n+1) is the (n+1)-th generation of the tree.

The following figure demonstrates the first three generations of the tree modeling.


The final rendered tree with n = 6.