In this entertaining project, I explored procedural generation in Matlab. I designed a script that can be used to procedurally generate a geometric model resembling a natural tree with branches and leaves.
I explored two methods of tree generation and eventually chose the method that was the most true-to-life and therefore produced the most accurate representation of a tree.
I designed a graphical interface to allow parameters to be modified and the effects of these modifications to be quickly seen on the screen.
Finally, I attempted to model a coniferous tree with radial branches in the same script I was already using to create trees with forking branches. The result of this attempt leaves room for improvement but I thought it sufficient for low-fidelity animation.
The model includes stochastic (random) elements so that given a set of input parameters, each iteration of the script produces a completely unique geometric model. The model comes with presets to generate common tree species.
To view the entire project written up as a short paper, click the links below: