Lava Lamp (Metaballs / Marching Squares)

🔗 Code Example: Lava Lamp (Marching Squares)

🔗 Timestamps:

  • 0:36 Approach

  • 2:33 Calculating location of circles relative to a point

  • 13:34 Calculating location of circles relative to each cell on a grid

  • 18:55 Setting value of each corner based on location calculations

  • 22:22 Mapping each cell to a contour

  • 27:56 Interpolating points to get smoother contours

🔗 References:

Previous

Jelly Tentacles 🐙

Next

Oscillating Kinetic Typography