API reference
@voxolith/gen-tree
@voxolith/gen-tree: procedural voxel trees.
One pipeline, two species families: grow a branch skeleton, rasterise it as wood, paint bark on the surface only, hang foliage off the twigs, carve the canopy so it has gaps and a ragged outline, colour the leaves, then prune anything that ended up disconnected so the result is always a single piece.
The generic parts — branch growth, clump placement, canopy carving and exposure shading — live in @voxolith/gen-kit and are shared with the other vegetation generators.