Bubbles (2D)
A 2D bubble-physics sandbox: real Archimedes buoyancy with fluid added-mass inertia, quadratic drag giving a size-dependent rise speed, elastic collisions and size-threshold coalescence that conserves area.
This 2D companion to the 3D Bubble World strips soap-film decoration away and focuses purely on the mechanics of a bubble rising through a fluid: Archimedes buoyancy competing with weight and fluid added-mass inertia, quadratic drag that yields a genuine size-dependent terminal rise speed, elastic/inelastic collisions resolved as real momentum-conserving impulses, and coalescence driven by a Laplace-pressure-inspired film-drainage model that favors small bubbles merging quickly while letting large ones bounce apart. Tune fluid density, drag, gravity, restitution and coalescence rate to see how each one reshapes the bubble population over time.
A 2D bubble-physics sandbox: real Archimedes buoyancy with fluid added-mass inertia, quadratic drag giving a genuine size-dependent rise speed, elastic/inelastic collisions resolved as momentum-conserving impulses, and coalescence driven by a Laplace-pressure film-drainage model that conserves area.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install