3D billiard symulation in JS WebGL library Three.js with Physi.js