EXP·017 Tideglass — interactive glass-fluid metaballs that chase your pointer, splash on fling, then crystallize into a lattice as you scroll

Design Lab · Experiment 017 · tideglass

Pour the glass.

Move and the tide follows — soft metaball fluid with spring memory. Fling to splash. Scroll and the pour freezes into a crystal lattice. One force, two moods.

live · pointer / touch -- fps

drag to stir · flick for foam · scroll to crystallize

scroll
[00]The pour

fluid first, lattice second — one simulation, two readings

Field
metaballs · summed radial potentials, thresholded into a glossy surface · full-resolution canvas, no low-res upscale
Motion
each blob is a spring-damper chasing a target — pointer owns one; idle ones orbit and breathe
Glow
CSS filter: blur on a second canvas layer for the soft halo — cheap GPU path, no pixel upscale artefacts
Splash
velocity spike sheds foam particles with additive glow · settles in under a second
Crystal
scroll progress lerps blob targets onto a hexagonal lattice and hardens the threshold
Fallback
🟢 graceful · reduced motion → still glass, soft breathe only
[01]Six facets

what makes a fluid feel expensive

01 · potential

Sum, then cut

Every blob is a soft hill of influence. Add the hills, paint where the sum crosses a threshold — and separate drops suddenly become one surface.

02 · spring

Chase, don't stick

Targets are instantaneous; positions lag with spring + damping. That lag is the glass feeling wet.

03 · foam

Velocity is the cue

When speed spikes, shed bright foam. The eye reads force without a physics engine.

04 · harden

Scroll as kiln

Scroll progress pulls targets to lattice points and raises the threshold — liquid becoming crystal in one continuous gesture.

05 · palette

Tide & foam

Abyss, glass, cyan, violet.

06 · restraint

One material, whole page

Sixteen experiments taught the rule: pick one force and commit. Here the force is viscosity — everything else is just how hard you pour.

[02]Stirring bench

full-gesture playground · drag, fling, tune viscosity · safe-area aware

Field note: the hero uses touch-action: pan-y so phones can still scroll the page. The bench flips to none — that's where the drag physics lives, capped at 62svh so a thumb never traps the whole viewport.
[03]The kiln

scroll this section — the pour hardens under your thumb

Heat leaves. Order stays.

As this panel crosses the viewport, blob targets lock to a hex grid and the surface threshold climbs. Same field. New material.