All effects

Σ r² / d² > 1

Metaballs.

1982 to today

A tribute to the shape that is not a shape. From Blinn's molecules in 1982 to WebGPU today, every technique below runs live in your browser.

Research8-bit16-bitPCGPUEmerging

How it works

The algorithm

Every ball spreads a field that weakens with distance. Add up the fields of all balls at a point; where the sum passes a threshold, you are inside the blob. Close balls melt together because their fields add up. To draw it, either test every pixel (2D, or a ray per pixel on the GPU), or sample the field on a grid and turn it into lines or triangles with marching squares or marching cubes.

The old-hardware trick

Skip the square root and the division: precompute r²/d² in a lookup table, work at a chunky resolution, and let palette cycling or a fixed colour ramp do the shading. A few MHz was enough for smooth 2D blobs.

Per frame, in pseudo-code
for each pixel p:
  f = 0
  for each ball (c, r):
    f += r² / |p − c|²
  colour = f > 1 ? inside(f) : outside(f)

Timeline

Documented milestones, with a source for each. Famous examples, not claims of who did it first.

  1. 1982Research

    Blinn's “blobby model”

    Jim Blinn · Research

    Jim Blinn visualises electron density of molecules as a sum of exponential fields. The core idea: not a shape, but a field with a threshold.

    Source
  2. 1985Research

    The word “metaball”

    Nishimura et al. · Research

    Nishimura et al. (Osaka) use piecewise quadratic fields with finite support on the LINKS-1 system and call them metaballs.

    Source
  3. 1986Research

    Soft objects

    Wyvill, McPheeters & Wyvill · Research

    Wyvill, McPheeters & Wyvill introduce a polynomial falloff without exp(), faster, and each ball only influences its own neighbourhood.

    Source
  4. 1987Research

    Marching cubes

    Lorensen & Cline · Research

    Lorensen & Cline publish the algorithm that turns a scalar field into triangles. Designed for medical scans, perfect for blobs.

    Source
  5. 1988–91Research

    Polygonisation & tetrahedra

    Bloomenthal and others · Research

    Bloomenthal's implicit-surface polygonizer and marching tetrahedra resolve marching-cubes ambiguities without huge lookup tables.

    Source
  6. early '90s16-bit

    Demoscene

    Amiga & PC sceners · Amiga / PC

    On Amiga and PC, 2D metaballs become a classic effect: low resolution, palette cycling, lookup tables for 1/r², realtime on a few MHz.

  7. 1997PC

    Stash: the 4D fractal blob

    The Black Lotus · PC

    The Black Lotus wins the PC 64k compo at The Party 1997 with Stash. One of the effects: a pulsing ‘4d fractal blob’, built realtime from polygons via marching cubes, in 64 kilobytes.

    Source
  8. late '90sPC

    Metaballs in 3D packages

    3D packages · PC

    Modelling software (including Blender's Meta objects) makes blobs a standard tool for organic shapes and liquids.

  9. 2002–07GPU

    Programmable GPU

    GPU vendors · GPU Gems 3 · GPU

    Pixel shaders evaluate the field per pixel. GPU Gems 3 (2007) shows marching cubes in geometry shaders and point-based metaballs on the GPU.

  10. ~2008GPU

    SDF & smooth minimum

    Iñigo Quilez · GPU

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

    Source
  11. 2011GPU

    Numb Res

    CNCD & Fairlight · GPU

    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.

    Source
  12. 2013GPU

    Shadertoy

    Shadertoy community · GPU

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

  13. 2020GPU

    Dreams

    Media Molecule · GPU

    Media Molecule's Dreams lets players sculpt entire worlds with SDF primitives and soft blending.

    Source
  14. 2023–nowEmerging

    WebGPU & compute

    Browsers · WebGPU

    Compute shaders run marching cubes and millions of particles in the browser. The old idea, at unprecedented scale.

    Source
  15. 2026PC

    Parade: an ode to metaballs

    Majestic (Kork) · PC

    Majestic (Kork) releases Parade at Evoke 2026: fully software-rendered, no shaders. At the end, a pink/lilac figure marches across the screen, arms, legs, torso and head, all one blob field.

    Source

Over time

21 live versions, from the oldest platform to today: 13 on the CPU, 8 on the GPU. Retro versions run at their original resolution and palette. Demos pause when off screen.

demoscene, ~1990

Chunky threshold

~1990

Field per 8×8 pixel block, hard threshold. This is what it looked like on a 7 MHz machine.

16-bitCPU2Dcoarsefilled
Detail page
Mac / Atari ST

1-bit Bayer dither

1985

Field strength as greyscale, ordered dithering with a 4×4 Bayer matrix.

16-bitCPU2D1-bit
Detail page
terminal, always

ASCII

always

Field strength mapped onto a character ramp from ' ' to '@'.

8-bitCPU2Dtext
Detail page
1987 principle in 2D

Marching squares: coarse

1987

24 px grid, 16 cases per cell, linear interpolation along edges. The grid is visible.

PCCPU2Dline-artcoarse
Detail page
topographic

Marching squares: isolines

1987

Fine grid, multiple threshold levels: the metaballs as a height map.

PCCPU2Dline-artfine
Detail page
1986

Soft objects (Wyvill)

1986

Polynomial falloff with finite support. Bands show where the field ends: outside the radius it is exactly zero.

ResearchCPU2Dfalloff
Detail page
'90s PC

Per-pixel fill

'90s

Every pixel computes Σ r²/d². Anti-aliased edge with a glow around it.

PCCPU2Dfilledfine
Detail page
1991

Marching tetrahedra: coarse

1991

12³ cells, each split into 6 tetrahedra. Rotating wireframe, coloured by depth.

PCCPU3Dwireframecoarse
Detail page
1991

Marching tetrahedra: fine

1991

Same algorithm on 22³ cells: the facets almost disappear.

PCCPU3Dwireframefine
Detail page
'90s PC

Phong-shaded: CPU

'90s

Every pixel sphere-traced in JavaScript, then ambient + diffuse + specular highlight (Phong). Low resolution, as on a Pentium.

PCCPU3DPhong
Detail page
demoscene, ~1995

Environment-mapped: CPU

~1995

The classic trick: normal.xy becomes a texture coordinate into an environment image. Blobs as shiny chrome, without real reflection.

PCCPU3Denvmapchrome
Detail page
Majestic, Evoke 2026

Parade blob-man

2026

Recreated from the developer's notes: spheres along a 15-bone skeleton merge into a wet, magenta creature. A 23-second sequence grows its mass, lowers its arms and slows its march. Close framing, zoom echoes, datamosh and hard two-level colour complete the look.

PCCPU3Dfeedbacktribute
Detail page
pixel shaders, 2000s

GPU per-pixel glow

2000s

The same field as the CPU version, but as a fragment shader: free at full resolution.

GPUGPU2Dfilled
Detail page
1982 meets 2010

Blinn field, raymarched

1982/2010

Real exp() fields like Blinn's. Fixed steps along the ray, bisection for the edge, normal = gradient.

GPUGPU3Dexp field
Detail page
Quilez, ~2008

SDF + smooth min

~2008

Balls as signed distance, blended with smin(). Sphere tracing, Phong and Fresnel.

GPUGPU3DSDF
Detail page
style exercise

Toon / cel-shaded

style

Same SDF, but three colour bands and a contour line from the minimum distance along the ray.

GPUGPU3DSDFline-art
Detail page
dimension +1

4D hyperballs

4D

Balls in 4D; we see a 3D slice sliding through w (bar on the right). Blobs appear and vanish out of nowhere.

GPUGPU4DSDF
Detail page
TBL, The Party 1997

Stash 4D fractal blob

1997

Our interpretation: a quaternion Julia set (4D fractal) as a 3D slice, with a slowly drifting parameter so the shape pulses and melts. Grey metallic, with a mostly neutral environment map and Phong highlight.

GPUGPU4Dfractaltribute
Detail page
as in 1997

Stash blob: CPU

1997

Like the original: the 4D fractal is sampled on a 3D grid, turned into triangles with marching cubes, rotated and filled per pixel with our own rasterizer: grey metal with a mostly neutral env map and Phong highlight.

PCCPU4Dmarching cubesPhong
Detail page
SDF, today

Colour-blended primitives

today

A sphere, a rounded cube and a rounded pyramid, each in a soft primary colour. Where they blob together their colours mix like paint: red and yellow make orange, yellow and blue make green, red and blue make purple.

GPUGPU3DSDFcolour mix
Detail page
CNCD & Fairlight, 2011

Numb Res fluid

2011

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.

GPUGPU2DSPHfluid
Detail page