🤿 Cartesian Diver 3D Physics Simulation: Buoyancy, Boyle's Law and Pressure in a Squeezed Bottle (2D)
A 3D physics simulation of the Cartesian diver: squeeze a bottle to raise the water pressure, watch the air bubble in the diver shrink by Boyle's law, lose buoyancy and sink, then release it to float back up.
⚙ Under the hood
A 3D physics simulation of the Cartesian diver: squeeze a bottle to raise the water pressure, watch the air bubble in the diver shrink by Boyle's law, lose buoyancy and sink, then release it to float back up.
Cartesian diverbuoyancyBoyle's lawPascal principle2D physics simulation
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install