A 14 × 14 grid of masses with structural and shear springs, two corners pinned. Raise the stiffness, change h,
switch the method, and drag the cloth with the mouse. More info: [cloth]
[stability]
Cloth
Spring color: strain. Blue: rest length. Red: stretched
Cost and stability
The simulation tries to run in real time: 1/60 s of cloth per frame.