Tearable-Cloth
Tearable-Cloth copied to clipboard
Usability updates
Added functionality:
- Reset the cloth
- Set gravity to 0 (taken from Dissimulate's CodePen example)
- Turn Zero G back off by pressing the button a second time
- Canvas width and height are defined now (taken from Dissimulate's CodePen example)
- Track release of mouse outside of the canvas