Tag: procedural generation

  • Using Coordinate Transforms

    Using Coordinate Transforms

    Coordinate transformations have a wide range of applications in computer graphics. The basic idea is that child objects are drawn relative to a parent object rather than based on the world coordinates. For example, an arm always starts from the same location relative to the parent body. As the parent body moves and rotates, its…

  • Learn Recursion by Creating 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

    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…