Underwater Cave Narrows: Continuity & Bernoulli Flow (2D)
2D cross-section of a flooded cave passage: continuity (A1v1=A2v2) drives real flow-speed spikes through a constriction, Bernoulli's equation shows the matching pressure drop, and drifting diver-tracers reveal why cave narrows are dangerous currents, not decoration.
This 2D companion strips the cave down to its cross-section and drives it with real fluid mechanics: a side panel lets you set the constriction ratio, inlet width, inlet flow speed, water density and viscosity, and the passage-width profile drawn on screen is the exact same function used to compute flow speed via continuity (A1v1=A2v2) and pressure via Bernoulli's equation at every point along the channel. Diver-tracer particles drift at the true local flow speed, visibly accelerating through the narrows while the live readout reports the speed-up factor, the pressure drop and the Reynolds number — the physics behind why a cave's narrowest passage is where currents turn dangerous.
2D cave-passage cross-section driven by continuity (A1v1=A2v2) and Bernoulli's equation, with diver-tracers advected at the true local flow speed and a live speed/pressure/Reynolds-number readout at the narrows.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install