Iceberg Buoyancy Physics (2D)
A 2D side-view iceberg: drag ice density and water density and watch the submerged fraction recompute live from Archimedes' principle, then trigger calving and watch each chunk settle at the same equilibrium depth as the main berg.
An iceberg floats because ice is slightly less dense than seawater, and by Archimedes' principle it must displace a volume of water weighing exactly as much as itself. Since weight is density times volume times gravity for both the ice and the water it displaces, the volume terms cancel and the submerged fraction reduces to a single ratio: ρice/ρwater — independent of how big the iceberg is. This 2D side-view companion lets you drag ice density and water density directly and watch that fraction, and the freeboard height above the surface, recompute live, then trigger a calving event and watch a chunk break away, fall, and settle at the exact same equilibrium depth once it hits the water, since it's made of the same ice.
A 2D side-view companion: sliders set ice density, water density, iceberg height and wave choppiness, and the submerged fraction recomputes live as ρ_ice/ρ_water; calved chunks fall and settle at that same fraction.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install