Metaballs

Version 17 of 21

4D hyperballs.

dimension +1 · 4D

This version

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

How this version works

Six fixed sphere centres live in four dimensions, while the fourth coordinate of the sampled three-dimensional slice oscillates between -1.2 and 1.2. Their four-dimensional distances are smoothly blended and traced at render scale 0.6 from an orbiting camera. The slice position changes the material from turquoise to purple and moves a marker on the right-hand bar as sections grow, merge and disappear.

The trick in this version

The extra dimension enters through a four-component distance calculation, not through a four-dimensional display. Holding that coordinate constant for each frame converts the shape into a renderable three-dimensional slice.

Historical context · GPU

  1. 2020 · Media Molecule

    Dreams

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

  2. 2013 · Shadertoy community

    Shadertoy

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

  3. 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.

Platform
dimension +1
Era
GPU
Rendered on
GPU
Tags
4D · SDF
Sources
Dreams (2020)Numb Res (2011)