Tearable-Cloth
Tearable-Cloth copied to clipboard
A tearable cloth simulation using vertlet integration.
View it here: https://dacuteraccoon.github.io/Tearable-Cloth/dist/
Hi, I'm not a programmer so my question might sound silly. Is it possible to use a JPG or PNG image as a "texture"? I have a fabric ecommerce and...
I cannot tear it. I can only see the cloth. I cannot drag, tear, and do anything but seeing it.
Example for retina display http://codepen.io/anon/pen/mxjKC
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 -...
Added touch events. Reset mouse.down if mouseup event occurs outside of canvas.
It would be great to make UI (maybe some buttons to change input mode?) capable to play with cloth on phone or tablet (like Chrome/Firefox Android/UbuntuMobile). I've just read about...
First, I found that the line can be teared but not torn down. Then I discovered that the cloth fell on the ground can bounce up.