For those who do not know the definition of a fractal, it is a method of iterative generation that enables through simple rules to achieve phenomenal results: Fractal Art.
Integrating this technology into the game can be innovative. We did some tests that allow us to generate complex trees in the least time possible.
To generate the previous image, here is what we have created in the editor:
To work, our game fractals use the kinship that objects can have. For example: A branch has for a son 1 leaf ball and two sub-branches. The fractal mode is then adding for each sub-branch the sons in the same way as for the parent. So the sub-branch will have 1 leaf ball and two other sub-branches. The red lines represent the pattern that is endlessly repeated from parent to son :
Here is another example of fractal generation from the following basis :
Gotta love fractals