Labs · Oscillation
Pressure Soft Bodies (Jelly)
A soft body is a ring of point masses joined by springs, with a twist: the gas inside pushes outward. Each frame the enclosed area is computed (shoelace formula), and every edge is pushed along its outward normal with a force proportional to A₀ / A. Squashing a blob raises its "pressure", so it bulges back.
Blobs also collide: any point that ends up inside another blob is pushed back to its surface.
Grab a blob and throw it at the others. Then set pressure to 0 and they collapse like deflated balloons.
Controls
- Blobs
- Points per blob
- Skin stiffness
- Pressure
- Gravity
- Damping
- Googly eyes
- Colour A
- Colour B
Evolved from Springs (Hooke's Law).
Evolved into Soft-Body Lattices.