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.
Here are the settings:
We can tweak them a bit to get another result:
New settings:
The main part of the algorithm, which is then rendered using pygame: