Ferro Magnet
Tilt or drag to move the magnet
Watch the dark pool reach for the light
No sensor? Drag the pool to play
Read the design notes ↓Design notes
Ferrofluid spikes arise from the Rosensweig normal-field instability (R.E. Rosensweig, 1969/1985): when a magnetic field exceeds a critical threshold the flat surface bifurcates into a hexagonal array of spikes. Approximated here with CPU spring-physics blobs, IQ polynomial smooth-min fusion (Inigo Quilez, iquilezles.org), and a WebGL2 fragment shader that adds a three-wave hexagonal ripple near the magnet. Tonal world: just-intonation D major hexachord (D E F# A B C#) — every combination consonant. Five rim-bells of different sizes map to five pitches; larger bell = lower register.
Ref: Andrejs Cēbers — ferrofluid pattern formation.