TrunkParams
The trunk (level-0 stem): its size, taper, lean and flared foot.
Defined in: tree/src/params.ts:20
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
curl | number | Amplitude of the coherent wobble along the trunk; grows with look.age. | tree/src/params.ts:32 |
flareGain | number | Extra radius at the very base, as a fraction of the base radius. | tree/src/params.ts:36 |
flareHeightRatio | number | Root flare height as a fraction of tree height. | tree/src/params.ts:34 |
flareLobes | number | Buttress lobes around the flare. | tree/src/params.ts:38 |
leanDeg | number | Most the trunk may lean from vertical, in degrees; the actual lean is random up to this. | tree/src/params.ts:28 |
lengthRatio | number | Trunk length as a fraction of tree height. | tree/src/params.ts:22 |
radiusRatio | number | Base radius as a fraction of tree height. | tree/src/params.ts:24 |
roots | number | Surface roots radiating from the base. | tree/src/params.ts:40 |
segLen | number | Polyline step along the trunk, in voxels at height 192. | tree/src/params.ts:42 |
sweepDeg | number | Total lateral turn over the bole. | tree/src/params.ts:30 |
taperExp | number | Taper exponent; 1 is a straight cone, lower keeps mass high up. | tree/src/params.ts:26 |