Physics
Built from tetrahedra
The jelly is a few hundred particles joined into about a thousand tetrahedra. Each frame runs 10 short XPBD substeps: every edge tries to keep its rest length and every tetrahedron its volume, and firmness sets how much they give. Damping only removes motion between neighbors, so the whole block still falls and bounces freely.