“There's nothing wrong with having a tree as a friend.”

— Bob Ross
version 1.76.0

Inputs

Adjust the inputs below and either click “New Seed” on the left to generate a tree with a new random input seed, or click “Same Seed” on the right to generate a tree starting with the same input seed as the one you're looking at.

Parameter Key Type Value
Trunk height trunkheight Float (0, ∞)
Color color String
bgcolor String
Branch at tip bat Boolean
Circle endpoints co Boolean
ce Boolean
Circle size circleradius Float (0, ∞)
Show branches showbranches Boolean
Branch Angles arm Float
arv Float
Branching depth depth Integer [1, ∞)
Margin margin Integer [1, ∞)
Printing maxprintheight String
maxprintwidth String
printseed Boolean
Debug debug Boolean

About

My name is Andrew Hallagan. I enjoy this sort of thing. Maybe you do too. The code is available on GitHub.

Printing

You may also be interested to know that there are print styles on this page, allowing you to complete the circle of life by printing a picture of a tree on an actual dead tree. If the height or width of the tree doesn't fit on a single page, then the values of maxprintheight and maxprintwidth are used to scale the image proportionally, depending on which dimension it is too big for. Any valid CSS number with units should work for the maxprintwidth/height values (e.g., maxprintheight=2.54cm). When printing, the tree is centered horizontally and fixed to the bottom edge of the page.