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