Simple verlet based 'cloth' simulation. Grab and move and pin particles to modify the sim.
Simple verlet based 'cloth' simulation.
- Grab and move and pin particles to modify the sim.
- See details on the code's home page.
- Expects a 3-button mouse.
- You can LMB-click on any particle to make the particle stick to the mouse.
- LMB-click again, and the particle will stick in space.
- If you RMB on a stuck particle, it will unstick.
If you grab just the source, you'll also need a fixed-up version of the Pygame vec2d lib, which you can download from my site here:
Based on the 2001 Siggraph paper:
- Home Page