Files
Iris/core/src/test
Brian Neumann-Fopiano 6aafec196b Plunge pools below falls
- RiffleProfile carves a plunge pool at the foot of every head step of 6 or more blocks in channel water: depth round(0.5 x drop x (0.85 + 0.15 x variation)) clamped to 2..8, radius clamp(0.75 x drop, 3, 12), one distance field per foot and top head pair that spreads only through the foot level, LIMIT kept at 160
- Riffle crests at least 5 blocks above a cell's sill no longer raise its bed, so the foot of a large fall stays deep while the brink keeps its head-1 sill
- Plunge pools never seed in or carve pond, lake, sea inlet or mouth columns
- The riffle raise below a step between two different channel reaches leaves the lower channel's bed alone (spec 11 design D); fields are keyed by crest level, feature and flowing role
- RiffleProfile samples head, feature and role per column through a Water sampler; WaterRole.flowing names the channel, cascade and waterfall roles
- RasterComposer styles a channel column below another channel reach's water 2 or more blocks higher as CASCADE, or WATERFALL from the higher reach's waterfallMinimumDrop
- ReachShaper.styles takes the sea level and styles a one-block drop out of an outlet zone or held lip as CASCADE when the head snap shows it as a two-block step; LinkBlend restyles with the same rule
- LinkBlend.settleInto holds a cross-window feeder's start only for a pond lip, a pond outlet or a fed start more than one block above the junction, the in-window p0cap1 rule
- Tests: plunge pool, chunk-border and standing-water RiffleProfile cases, receiving bed below a joining cascade, styled lower-channel edges, falls into ponds and mouths keep their floors, cross-window fed start, held-lip step styles, and no confluence tongues on the cached 2x2 openFractal and sloping valley scenes
2026-11-02 06:02:09 -05:00
..