🧵 Fabric Simulation — 2D Mass-Spring Cloth in Wind
2D companion of the fabric simulation: an oblique-projection mass-spring cloth with structural, shear and bending springs, per-quad aerodynamic force from the wind, adjustable gravity, stiffness and damping, and an analytic hanging-column check.
⚙ Under the hood
2D companion of the fabric simulation: an oblique-projection mass-spring cloth with structural, shear and bending springs, per-quad aerodynamic force from the wind, adjustable gravity, stiffness and damping, and an analytic hanging-column check.
Cloth SimulationMass-SpringWind DragElasticity
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install