Drag the red magnet to move the field

Ferrofluid Rosensweig Spikes (2D)

This is the 2D top-down counterpart to the 3D ferrofluid dish: a canvas view of the same Rosensweig (normal-field) instability, where a ring of sharp fluid spikes erupts around a magnet once the applied field crosses a real critical-field threshold. Instead of a rendered 3D mesh, the surface height is computed on a grid and drawn as a glowing height map with bright spike tips, driven by the same physics — a critical field H_c derived from density, gravity and surface tension, and a spike spacing set by the capillary wavelength. Drag the magnet to relocate the instability, raise the field past H_c to watch the spike crown erupt, and adjust surface tension to see the threshold and spike spacing shift together exactly as real ferrofluid physics predicts.