A simple fractal generator that generates the Pythagorean tree. Code
Not comme il faut… And this is fixable
Here is THE SECOND VERSION
But now generates everything recursively and not in one line.
Although maybe someone else wrote fractal code on Babylon before me, but I want to believe that I am the first! I’d like to know that…
6 Likes
labris
2
Fractals are fascinating
Fractal line system - Babylon.js Playground
SPS Tree generator - Babylon.js docs
CloudBlock class used to Generate Fractal Brownian Motion Clouds - Babylon.js docs
Menger Sponge Fractal pattern - Menger sponge Fractal Pattern using Babylon
Surely, there are even more examples to investigate!
Well, the way I did it, no one has done it yet… The Pythagorean tree has definitely not been done on this engine yet…
2 Likes