Skip to content
All experiments
Position-based dynamics + constraints

Verlet Cloth

A grid of point masses joined by distance constraints, integrated with Verlet integration and relaxed over several constraint passes per frame. Drag to push the cloth around; drag hard and it tears.

physics · constraints · canvas · runs entirely client-side · respects prefers-reduced-motion