Goals
The goal of this project was to generate a tree with branches through fractals and the leaves at the end of each node.
The code was written in C++ and built with Visual Studio 2019. I also used OpenGL for the animation
Primary Concerns
-
Branch Generation
When attempting branch generation, the simulation kept crashing whenever branch count was set to higher than 1 and could not resolve the issue.
-
Affix leaves to end of branch
Each leaf's starting particle was affixed to the branch's last row of particles
-
Collisions and Self Collisions
The tree's structure of particles was pushed to a vector where each set of leaves checked for collisions on that vector. Additionally each particle checked for collisions within it's own object's vector of particles