E-12

Verlet rope & cloth

Capes, scarves, plumes, banners, ropes and chains that swing with movement and wind: a few dozen points and distance constraints per piece, pinned to a moving anchor, with gravity, damping, gusts from game time and a ground line. It only reads the anchor and only draws, so hit boxes and rules never change. Press Off | On (or drag on the game) for a divider: left of it the same scene with baked cloth (a fixed shape, as older games drew it), right of it the solver.

HD 960×420 t 0.00 s points 0 solver 0.00 ms

←→ run · Z jump · X swing (knocks the lantern) · C blink 300 px (a teleport: the cape comes along, no rubber band) · G gust · S slow motion. A key takes over from the script; “Script” gives it back.