A tree that is grown, not drawn

Nothing here was drawn by hand. The tree is grown: start with a trunk, split it into two or three children, multiply the length by 0.80 and the thickness by 0.66, bend each one away by an angle — then do exactly the same thing to every child. At the last level a cluster of blossom is hung on each tip. Four numbers decide the whole tree: levels, bend, bloom and points. Press "Grow another" and the random splits give you a different tree every time. Petals fall at their own speeds, and reaching the ground wraps them back into the canopy.

Using Wood Grown

Every extra level roughly doubles the branch count — from a couple of dozen segments at four levels to several hundred at eight — and it is the same piece of recursion producing all of them, without a line of code changing. A small "Bend" grows a broom; a large one opens into an umbrella. As for how many points each segment gets, that goes by its side area: split evenly per segment and the hundreds of twigs at the ends would be as dense as the trunk, and the whole tree would read as a ball of wool.

🎨 Remix this appor start from scratch
Report