✕
🫧 Soft Body Physics
Objective: Create and interact with soft body physics objects. Blobs, squares, and triangles deform, collide, and bounce in real time.
Controls:
- Click Blob/Square/Triangle buttons to spawn soft bodies at random positions
- Click on a body to poke it — apply force to the closest node
- Click and drag a node to stretch the body
- Stiffness slider controls how rigid the bodies are
- Pressure slider controls internal pressure (higher = more inflated)
- Toggle Pressure visualization to see internal pressure values
Rules: Soft bodies use a network of nodes connected by springs. Internal pressure pushes nodes outward keeping the shape. Bodies collide with each other and the walls. Higher stiffness makes bodies more rigid, higher pressure makes them more inflated and bouncy.