Skip to content

Crowns that fill a shape ​

Branches nodes place children by rules: so many per parent, at such an angle. Sometimes you want the opposite: say where the crown is and let branches grow to fill it. That is what Volume and Space colonization do.

Volume ​

A Volume node makes a closed shape. It does nothing alone; it feeds a Space colonization node (where to grow) or a Prune node (what to keep).

Shapesize meanscenter means
ellipsoidthe three radiithe centre
boxhalf sizesthe centre
cone, cylinderradius, height, radiusthe base centre
profileradius, height, radius, with the Profile curve giving the radius at each heightthe base centre

Note the difference: an ellipsoid is placed by its centre, a cone by its base. A cone with the same center as an ellipsoid floats above the trunk and nothing grows.

Space colonization ​

Space colonization (Runions et al., 2007) scatters attractors, points inside the volume. Starting from the stems it receives, it grows short segments toward the nearby attractors, and an attractor is used up when a branch comes close. The result is a crown that fills the shape with branches that compete for space.

FieldKeyWhat it does
Attractorsattractorspoints scattered in the volume; more gives denser crowns
Stepsteplength of each new segment (D), meters
Influence radiusinfluence_radiushow far an attractor pulls, in multiples of the step
Kill radiuskill_radiusan attractor this close to a branch is used up, in multiples of the step
Bias direction / Bias strengthbias, bias_strengtha direction added to every step (up by default)
Start from / Start atstart_from, start_atwhich stems may sprout, and only above this fraction of each
Pipe exponentgrow_radius_byradii from tips to root, as in the radius rule

The colonized preset is a short trunk, an ellipsoid volume and a space colonization node.

The shape of the volume ​

Ellipsoid, cone and a profile with two bulges

Attractors ​

200, 900 and 2500 attractors

More attractors make more, finer branches and take longer to build.

Prune to a shape: topiary ​

Connect a volume to a Prune node to remove stems that leave it. With colonization into the same volume, a high attractor count and small dense leaves, you get clipped shapes: the boxwood ball, the hedge block and the cone topiary of the species library are built this way.

Mixing both ​

The two approaches combine. mango and acacia_umbrella start with a Branches node for a few scaffold limbs, then colonize a volume from them: strong main limbs from rules, a dense crown from the volume.