Dough

Soft body physics
$$pic(renders/render (5).png)$$

Dough is a particle-based physics engine which can realistically simulate soft materials like dough, foam, and liquid.

It can handle over 4000 particles, and parameters can be adjusted for emulation of different kinds of materials.

$$pic(renders/render (2).png)$$

I originally made Dough in the summer of 2012. Dough uses algorithms and constraints from Balls and Curtain. Curtain’s integration method is used as well as Ball’s collision detection in order to create temporary soft-links between particles.

$$pic(renders/render (3).png)$$

The data structure of Dough was revamped from Curtain’s to be more cache-friendly to better handle the frequent destroying and rebuilding of links.

You can see Dough’s source and try it out for yourself on OpenProcessing.

Gallery

Click to view