PhysicsFluid & Buoyancy

Objects with different densities interact with a fluid pool — light ones float, heavy ones sink. A small boat bobs on the waves. Click to drop objects.

Loading engine…
FPS: — Bodies: — Step: — Drag or tap the canvas to interact. Switch renderer with the 2D / 3D / PixiJS buttons.
GitHub

Engine features used

FluidBuoyancyDensityBoatClick

Related guides

More demos

All Physics demos →