JavaScript: Tearable Cloth 2016

Drag with your mouse, right-click to slice.
Github @abro_oks

It's been a couple of years since I made the original tearable cloth, and since then both me and Javascript have improved. I thought it deserved an update.

It should be more efficient, wall collisions are greatly improved, and it has a slightly more stretchy, cloth-like texture. The code is better, a bit smaller and now in ES2015. That was the main point.

2016-05-09 source