figureing out THREE.js stuff