Here is an awesome example of JavaScript. It simulates a tearable cloth – you can tug at the cloth (using click), or tear the cloth (using right-click). Its uncannily realistic and gives me a lot of joy just playing with the Javascript. Check it out here – http://codepen.io/stuffit/pen/KrAwx