Metaballs

Version 21 of 21

Numb Res fluid.

CNCD & Fairlight, 2011 · 2011

This version

Our tribute: 3000 particles with pressure and viscosity flow in slow motion from top to bottom over an invisible obstacle course, splashing constantly. The GPU smears them into one field and draws it as grainy black-and-white liquid.

How this version works

About 3000 particles are simulated with double-density relaxation: each particle pushes its neighbours away when crowded and pulls them in when sparse, with viscosity smoothing their speeds. They fall slowly from top to bottom over an invisible obstacle course and splash as they hit it. The simulation is warmed up before the first frame so the liquid is already flowing when it appears.

The trick in this version

The GPU never sees fluid, only points: every particle is splatted into one density field, which is thresholded and dithered into grainy black and white. That turns a few thousand dots into one continuous liquid surface.

Historical context · GPU

  1. 2011 · CNCD & Fairlight

    Numb Res

    CNCD & Fairlight release Numb Res at The Gathering 2011 (2nd place). A realtime SPH fluid of half a million particles on the GPU: blobs that flow, splash and are viscous, in grainy black and white.

  2. 2013 · Shadertoy community

    Shadertoy

    Thousands of blobs in a few hundred characters of GLSL. Metaballs become the ‘hello world’ of raymarching.

  3. ~2008 · Iñigo Quilez

    SDF & smooth minimum

    Iñigo Quilez popularises raymarching signed distance fields and smin(): metaball-like blending in a single line of code.

Platform
CNCD & Fairlight, 2011
Era
GPU
Rendered on
GPU
Tags
2D · SPH · fluid
Sources
Numb Res (2011)SDF & smooth minimum (~2008)