function valleyShape
universe/src/drainage.ts:1294
valleyShape(d: number, halfWidth: number, plain: number, reach: number) → number
The valley's cross-section: one over the bed, a few percent under one
across the floodplain, falling to zero at the reach. d is the distance
to the channel, halfWidth the channel's, plain the floodplain's and
reach the valley's, all in the same units.
- dnumber
- Undocumented
- halfWidthnumber
- Undocumented
- plainnumber
- Undocumented
- reachnumber
- Undocumented
Returnsnumber