// 04 RESTRICTED
jiggle-physics
Soft-body physics in vanilla JavaScript and canvas, one self-contained HTML file per demo. In the main one each letter of a word is a soft body: its glyph outline, traced from the alpha channel, becomes a ring of Verlet particles held by distance constraints and 2D shape matching, so letters squish, fling and slowly right themselves. The others are a jello brick on a 14×9 lattice and four googly-eyed blobs an earthquake throws around. Fixed ~120 Hz substeps and displacement clamps keep violent dragging stable. carterbox's JIGGLE! is ported from it.