🧪 Soap Bubble
3D soap bubble with a physically based iridescent shader: Laplace pressure 4 gamma / R, gravity drainage and evaporation of the film, thin-film interference colours and rupture at 8 nm.
⚙ Under the hood
This interactive simulation demonstrates the formation and dynamics of soap bubbles, illustrating surface tension and equilibrium. Users can manipulate bubble size and shape.
Surface TensionSoap BubblesEquilibrium
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install