Saturday, March 20, 2021

Binary Trees



Binary Trees was a small scale project focused on experimenting with L-systems and procedural generation.

Below is an example of how the L-system trees grow.


    The trees are drawn by writing pixel by pixel to a texture. This is a slower method, but because of the large pixel size its not a problem. This method also makes changing branches colors, or even deleting whole branches possible. 

    Each system contains no randomized elements. Because of their simple rule system the trees could be bred together and modified in multiple ways.

    My favorite part of this project is the ability to cut of certain branches and pick them up. This would ideally allow the players to cut off infected branches before they spread to the entire tree. It would also allow for "prettifying" the trees, or to cut branches to use their "genetic code" to breed new trees.