voxolith
API reference@voxolith/gen-treeInterfaces

BranchLevel

Growth rules for one level of children. Index 0 describes level 1.

Defined in: kit/src/branch.ts:28

Properties

PropertyTypeDescriptionDefined in
count[number, number]Children per parent, inclusive range.kit/src/branch.ts:30
curlnumberAmplitude of the coherent direction wobble.kit/src/branch.ts:45
downDegnumberAngle away from the parent axis.kit/src/branch.ts:36
downVarDegnumber-kit/src/branch.ts:37
gravitynumberDownward bend per voxel travelled; thin stems get more.kit/src/branch.ts:41
lenRationumberChild length as a fraction of the parent's.kit/src/branch.ts:32
lenVarnumberRandom spread on that length, as ±fraction.kit/src/branch.ts:34
photonumberUpward bend per voxel travelled, ramped toward the tip.kit/src/branch.ts:43
segLennumberArc length between polyline points, in voxels.kit/src/branch.ts:39

On this page