Ferrofluid Spike Field
A black magnetic liquid seen across its surface, with a magnet under it that follows the pointer. The liquid heaves into a mound and erupts into a hexagonal bed of needle spikes that lean toward the magnet and sink back in its wake; a press surges it and sends a ring of spikes across the pool.
This is a viberdy Pro component
The live preview, the props panel and the write-up are open to everyone. The full source, the AI prompt and CLI install are part of Pro.
Pulled into shape.
A black liquid that stands up where you point. Press to pull harder.
Props
"use client";
import { useEffect, useRef } from "react";
import type { CSSProperties, ReactNode } from "react";
/**
* FerrofluidSpikeField: a black magnetic liquid seen across its surface, with
* a magnet under it that follows the pointer. Where the field is strong the
* surface heaves into a mound and erupts into a hexagonal bed of needle
* spikes; they lean toward the magnet as it moves, and sink back slowly in
* its wake. A press surges the magnet: the spikes stand taller and a ring of
* them erupts outward across the pool.
*
* THE PHYSICS, LOOSELY. A real ferrofluid stays flat until the field crosses
* a critical strength (the Rosensweig instability), then forms a hexagonal
* lattice of spikes whose height grows like sqrt(1 - Bc / B). That is what
* runs here: a small field grid on the CPU (rising fast, falling slowly, so
* spikes linger), a triangular lattice of concave needle profiles whose
// ---------------------------------------------------------------
// Full source available with a viberdy Pro subscription.
// https://viberdy.dev/pricing
// ---------------------------------------------------------------
}About this background
A pool of black magnetic liquid, seen low across its surface, with a magnet hidden under it that follows your pointer. Real ferrofluid stays flat until the field passes a critical strength, then snaps into a hexagonal lattice of spikes whose height grows with the field. That is what this does. A small field grid rises quickly and falls slowly, so spikes stand in the magnet's wake for a moment after it has gone. Every lattice cell grows a needle with a sharp tip and concave flanks, sized by the field at its base, and every needle leans toward the magnet as it moves. Under the strongest field the whole surface heaves into a mound. Pressing surges the magnet: the spikes stand taller and a ring of them erupts outward across the pool and lies back down. The liquid itself has no colour. What you see is the studio it reflects: a softbox on the tips, a white hairline down one side, and one long strip of your accent colour behind the pool that draws every rim.
Curator’s note
Both of the house design scouts ranked a ferrofluid first: the most direct link between a hand and a reaction we could find. This one is raymarched from a low camera so the spikes stand up as silhouettes, and it is lit only by the studio it reflects.
Pairs well with
Matched on shared tags and category — the entries most likely to be used alongside this one.
Ink Aura Field
backgroundsDark water holding two inks: the pointer paints a pale ink through it as it passes, and a press drops cobalt that lands, blooms outward in a ring and curls into the first. A real GPU fluid with knobs for how far the ink travels, how much it ripples and how long it lingers.
Chladni Sand Field
backgroundsFine sand on a black vibrating plate. The pointer tunes the plate, so the grains shiver loose and crawl into a new symmetric nodal-line figure; a press strikes it and a shock spreads while the figure re-forms. Real standing-wave maths on the GPU, with knobs for complexity, settle, strike and the calm zone behind your copy.
Physarum Vein Field
backgroundsA living transport network on black. Hundreds of thousands of slime-mould agents grow a luminous web of veins; your cursor is food, so the web reaches toward it, and a press plants a glowing node the network connects to with thick trunk veins before slowly letting go.