ONONC

Ferrofluid

A magnetic liquid-metal blob that grows spikes and reaches a tendril toward the cursor.

canvasmetaballsinteractive

Customize

Form

Spikes9
Spike length0.55
Droplets4
Core size0.22
Surface tension1

Lower fuses blobs from farther apart.

Motion

Speed1
Wobble0.6
Spin0.12turn/s

Magnet

Follow pointer
Magnet strength0.6
Magnet reach260px

Appearance

Fluid color
Highlight
Glow0.55
Sheen0.6

Props

PropTypeDefaultDescription
colorstring"142,116,255"Body color of the fluid as "r,g,b".
highlightstring"186,230,255"Specular / rim sheen color as "r,g,b".
spikesnumber9Number of magnetic spikes growing from the core.
spikeLengthnumber0.55How far spikes reach past the core (fraction of its radius).
dropletsnumber4Free droplets that orbit and merge back into the mass.
coreSizenumber0.22Core radius as a fraction of the smaller canvas edge.
thresholdnumber1Metaball merge iso level; lower = gooier, higher = tighter.
wobblenumber0.6How much each spike pulses in and out (0–1).
speednumber1Master animation speed multiplier (0 = frozen).
spinnumber0.12Rotation of the spike crown, in turns per second.
glownumber0.55Outer glow / bloom intensity around the silhouette (0–1).
sheennumber0.6Strength of the top-lit specular sheen (0–1).
pointerReactivebooleantrueDraw the fluid toward the pointer like a magnet.
magnetStrengthnumber0.6How hard the mass leans toward the pointer (0–1).
magnetReachnumber260Pointer distance (px) within which the tendril reaches out.
childrenReactNodeContent layered above the canvas.
classNamestringExtra classes for the wrapper.