
Cloth Simulation
Grab, drag, and tear an interactive cloth simulation with satisfying canvas-based physics.
Created by ndrwhr
Create a free account to get instant access
How to Use
This is an interactive physics demonstration that shows how cloth behaves using realistic simulation. • Click and drag any point on the cloth to move it around • Hold down any keyboard key while dragging to pin a point in place (it will stay fixed until you release the key) • Use the checkboxes to toggle visual elements: - "Draw Lines" shows the cloth's fabric structure - "Draw Points" displays the individual mass points The cloth responds to your interactions with realistic physics - it will stretch, bend, and sway naturally. When you drag a point, the rest of the cloth follows according to physical constraints. Try grabbing different parts of the cloth and moving them around. Pin multiple points to create interesting shapes, or pin just the corners to see how the cloth hangs. The simulation runs continuously, so the cloth will keep moving and settling based on the forces acting on it. Experiment with different combinations of pinned and free points to see how cloth behaves in various configurations.