Tree generator

Back to home

A simple procedural generation algorithm to create something resembling a tree or a bush.

I'm always fascinated by procedural generation, so this is my simple take on it. It dras a tree from individual circles, growing on one another, and generates it branch by branch.

Apparently, GIF isn't here :(

Here are the settings:

We can tweak them a bit to get another result:

Apparently, GIF isn't here :(

New settings:

The main part of the algorithm, which is then rendered using pygame: