Metaball field

← All motion patterns

Metaball field

Subscription

SDF energy field — soft glowing blobs merging and parting.

Five charges orbit the frame on independent tracks, each adding an inverse-square contribution to one shared scalar field. Thresholding the sum rather than drawing each blob separately is the whole trick: where two charges approach, their fields add and the surface bulges out to meet, so blobs merge and separate with real surface tension instead of simply overlapping. Body colour drifts amber to lime on a slow sine, with a brighter lime core where the field runs hottest.

Metaball field

This is part of a CreativePower subscription. Subscribe to see its code and use it in your pages.

See plans
Metaball field · CreativePower