TechniquesNewLit arena: 2D light, soft shadows, smoke and fire that answer play
A 2D scene lit only by what happens in it.

The HaTac engine’s water as one kit, in raw WebGPU.
Lakes and rivers are read off the terrain (a world water line, basin seeds that flood their own hollows, river brushes’ retained depth): one absolute stage, one current and a shore field per terrain sample, the CPU authority for gameplay and saves. Round the camera a shallow-water solve on a finer grid (128 m of half-metre cells on High) carries the real current, and it moves like water: waves travel at the speed their depth gives them and ride the current, only the grid’s own noise is damped, and the level is held by its broad deficit alone, so swells, pile-ups and the standing waves of a steep rapid stay alive. It parts round feet and posts, leaves wakes and eddies, backs up behind a dam and runs down a freshly cut channel as one front; its white water comes only from where the water converges, spins or runs fast and thin. The surface is the look the owner approved: clear water over a visible bed absorbed red first, streaks along the current, a calm lake, soft caustics, shore reflections that find only what stands above the water, a smooth skin that meets a steep or freshly dug bank without tearing, and a far lake that keeps its blue. Off a tall cliff (6 m and more) the water leaves the height field as a falling sheet that thickens with the flow coming over, breaks into white water and lands where its arc meets the pool with sky-lit spray and mist; the fall moves exactly the volume it takes, so the pool never rises into a mound. Lower steps stay rapids. Cargo floats on the published water on the simulation clock and saves with it; thousands of pieces of debris ride the live current, turn in its shear, catch on feet, pile against a boom and beach where fast water throws them. The demo is a steep wild river at golden hour: one fall off a cliff, a run of rapids over boulders, a machine on feet in the stream and a weir that gathers driftwood, where you cut a channel from the river (digging near the water is guarded), dig freely away from it, drop a splash and scrub the hour to moonlight.
Measured 25 November 2026 on RTX 4060 Laptop, 13th Gen Intel(R) Core(TM) i9-13900H, Chrome 158, 1920×1080 at 1×. 600 frames × 3 rounds, median kept (rounds ranged GPU 8.47–9.69, CPU 0.52–0.56 ms). What ran: Alone: the bare water at golden hour: a still lake (a basin seed) and the steep run of rapids into it, the live current round the camera, on terrain-world’s clipmap valley under sky-atmosphere’s sky; no machine, weir, logs or trees. The camera turns slowly, so the live window scrolls. Frame pacing looked off during the run (most frames near 31 ms, about 80 near 16 ms, with the GPU busy 8.7 ms a frame): the owner may have had a light workload running; the GPU time is the number to read. Phones: tiers are being measured next.
Frames run on a 60 Hz timer (a page demo), so most frames take about one tick, 16.7 ms: the spread around it is what matters.
install("living-water")Your coding agent reads its pitfalls and installs it through the library’s MCP server. Set it upFrom HaTac. Adapted from published work, named below.
Hannes Andersson: The HaTac engine’s water, falling water and floating modules and their decisions (built for his game and proven there), the look he approved by eye, the library host and the demo’s valley.
The library’s shallow-stream: The live solve is adapted from its staggered, semi-Lagrangian face velocity and conservative upwind depth passes (the engine’s live.ts and live-shaders.ts say so), and the look follows it.