← all demos
House & Home Physics

Tank Drain (Torricelli's Law)

h(t) = (√h₀ − k t)² · v = √(2gh)
Tank Drain (Torricelli's Law)

A flushing tank empties fast when full and slows as it drains — Torricelli's law, since the outflow speed falls with the square-root of remaining head.

Computed & rendered in pure C# on the frozen OnlyCSharp 1.8 library — animation baked to GIF with the library's own Gif encoder (no GPU, no ffmpeg, no external packages).