Bonsai

cbonsai is a bonsai tree generator, written in C using ncurses.

How to interact: Click anywhere on the canvas to generate a new random bonsai tree. Each tree is unique, with randomly generated branches, leaves, and trunk characteristics.

The algorithm simulates natural tree growth patterns using L-systems and randomized branching rules, creating organic-looking structures that mimic real bonsai trees.