GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

05A Puddle Dragged by the Magnet While Tension Keeps It Round

The rim of the puddle is a ring of points, and each frame adds a pull toward the magnet sized by the slope of the field strength, a surface tension that draws each point back between its two neighbors, a pressure that keeps the starting area and a viscous damping, so when the magnet runs ahead the puddle stretches toward it into a teardrop and follows.

Best forPull effect on an interactive exhibition page

SURFACE_TENSIONAREA_PRESSUREPUDDLE_DT_MAX
A Puddle Dragged by the Magnet While Tension Keeps It Round
Open in a new tab

05 A Puddle Dragged by the Magnet While Tension Keeps It Round — Measured area 30.456% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Ferrofluid Simulation: 9 Canvas Scenes with Spikes

The post this demo lives in

Ferrofluid Simulation: 9 Canvas Scenes with Spikes - preview of all 9 demosFerrofluid Simulation: 9 Canvas Scenes with SpikesFerrofluid simulation: A puddle stays flat as a magnet nears, then all spikes rise at once past a threshold. How? 02 sta See all demos in this post

If you like this effect - similar demos