voxolith
API reference@voxolith/gen-kit@voxolith/gen-kitInterfaces

Skeleton

The branch structure growBranches returns, in skeleton space (seed origins as given, y up), before any voxel is written. Rasterise it with capsule / line3 per segment, or at a finer scale with drawSkeletonFine.

Defined in: branch.ts:131

Properties

PropertyTypeDescriptionDefined in
segmentsSegment[]-branch.ts:133
spreadnumberLargest horizontal distance from the origin.branch.ts:138
stemsStem[]-branch.ts:132
tipsTip[]-branch.ts:134
topYnumberHighest point reached.branch.ts:136
whorlYnumber[]Heights at which whorls were placed, when whorls are in use.branch.ts:140

On this page