three.js module to convert coordinates for 3d objects