Tag: fractals
-

Learn Recursion by Creating Fractals
Fractals are patterns that appear similar at different scales, known as self-similarity. That is fractals display a similar structure when you zoom in or out on them. Fractal patterns appear everywhere in nature. If you zoom in on a tree, the branching of the twigs is similar to the branching of the tree. If you…
-

How to Procedurally Generate Fractal Trees
Procedurally generated trees are a great way to add life and variety to a project – and are simple to create with recursion. Recursion (using a function that calls itself) is often used to generate branching structures. This can be abstract, using recursive branching to explore all of the paths in a maze or the…