Skip to content
Built on the Blobscape engine

Published · Updated

Sand, Snow and Goo

Blobs that flow. Each one is a particle of sand, snow or goo, and a small physics simulation moves them all. Pick a material and a test: pour it, drop something solid in it, or let a column of it go. Change how it behaves as it runs.

Starting the splat engine…

0 of 6,000 particles.0.0 s simulated
Material

Grains that can't pull on each other: it runs until its slopes are no steeper than its friction allows.

The steepest slope a dry heap keeps.

Damp sand holds together a little, so it stands in walls and breaks in lumps.

How it works

Particles that remember how they were bent

Each blob is a particle that carries its speed and how far the stuff around it has been squashed, stretched and turned. Every small step, the particles hand their mass and speed to a coarse grid, the grid works out the push between neighbors, and the particles take their new speeds back. That's the material point method, the way the snow in Frozen was made, here in its short form (MLS-MPM) and on your device's processor.

What makes the three differ is what each does once it's bent too far. Sand gives way whenever a slope is steeper than its friction and never holds when pulled, so it heaps. Snow is grains that hold on to each other: where it gives, those bonds weaken, so it breaks along cracks and the rest stays in clumps, and where it's pressed it packs down for good. Goo keeps its volume but not its shape, and how fast it gives is its thickness.

The ball, cube and rock are solid bodies with weight. Where the material moves into one, the two come away at the same speed, so a heavy rock digs a crater in sand, stamps a packed print in snow and sinks slowly into goo, and a light ball rides on top. The block, steps and bowl are the same kind of solid, fixed in place.

Every particle is drawn as a blob by Blobscape's own splat engine, like the creatures in Splat Creatures, but nothing here has bones: the blobs are moved by the simulation and handed to the engine again each frame. It runs as fast as your device allows, up to real time.