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…
Grains that can't pull on each other: it runs until its slopes are no steeper than its friction allows.
A stream from a spout, onto whatever is under it.
Finer is more and smaller particles, and more work: where a device can't keep up, the box runs slower than real time.
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.