Home▸Fluid Dynamics & Aerodynamics▸Foam Drainage — Plateau Borders & Laplace Pressure (2D)

Foam Drainage — Plateau Borders & Laplace Pressure (2D)

2D foam-drainage lab: a Voronoi bubble network drains liquid through Plateau borders under Laplace pressure and gravity, films rupture below a critical thickness, and a live height profile traces the drainage front sinking over time.

Fluid Dynamics & Aerodynamics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-foam-drainage ↗ Open standalone

This 2D companion drives the same Voronoi-foam drainage model as the 3D version — Laplace pressure P = γ/r pushing liquid between neighbouring bubbles, gravity pulling it downward, and film rupture below a critical thickness merging bubbles into larger ones — but reads it through a flat bubble network plus a live height-profile strip on the side that traces the drainage front sinking through the foam over time, making the solitary wave predicted by the foam drainage equation directly visible instead of implied by bubble colour alone.

⚙ Under the hood

2D foam-drainage lab: a Voronoi bubble network drains liquid through Plateau borders under Laplace pressure and gravity, films rupture below a critical thickness, and a live height profile traces the drainage front sinking over time.

foam drainageplateau borderlaplace pressurevoronoithin film rupturecoarsening

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)