Home▸Materials Science▸Ferrofluid Spike Attraction (2D)

Ferrofluid Spike Attraction (2D)

Interactive 2D ferrofluid droplet: drag the magnet around the blob and watch a single needle-sharp spike stretch to follow it, flip polarity to dimple away instead, and tune viscosity and field strength live.

Materials Science2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-ferrofluid ↗ Open standalone

This is the 2D canvas counterpart to the 3D ferrofluid dish: a magnetic droplet viewed from the side that stretches a single needle-sharp spike toward a magnet you drag around it, exactly like the original — rather than the multi-spike Rosensweig crown of the sibling ferrofluid pair, this mechanic tracks one moving magnet and lets a single point of the surface respond to it. Raise the field strength to stretch the needle taller, flip polarity to turn the spike into a dimple that pushes away from the magnet instead of toward it, thicken the viscosity to calm the droplet's ambient wobble, and fire a field pulse for a brief transient jolt — all driven by the same alignment-based deformation model as the 3D engine, just rendered as a 2D cross-section.

⚙ Under the hood

Drag a magnet around a 2D ferrofluid droplet and watch a single needle-sharp spike stretch to follow it, with adjustable field strength, viscosity and attract/repel polarity.

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)