RiverParams
The river: a channel along a slow noise contour, carving its own valley. Lengths in voxels.
Defined in: index.ts:25
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
banks | number | Width of the sloping banks either side. | index.ts:33 |
depth | number | Depth below the water level at the centre of the channel. | index.ts:31 |
enabled | boolean | Carve a river at all. | index.ts:27 |
meander | number | Distance over which the river swings from one side to the other. | index.ts:35 |
width | number | Channel width in voxels. | index.ts:29 |
widthScale? | number | Distance over which the width changes, in voxels. | index.ts:42 |
widthVariation? | number | How much the width varies along the river, 0 (constant) .. 1 (from a trickle to about twice as wide). Wide stretches are deeper too. | index.ts:40 |