A 3D cloth simulation implemented with THREE.js WebGL library