Recently started diving into THREE.js and I've put together a simple scene with the basics: http://codepen.io/inspiral/full/Lewgj
Overall, everything is running smoothly aside from an odd glitch that's been happening due to the new mouse event handling I implemented.
I followed this tutorial for mouse events:
Incorporating the OrbitControls.js reference and the code snippet below into my project seemed to do the trick:
controls = new THREE.OrbitControls( camera );
controls.damping = 0.2;
controls.addEventListener( 'change', render );
However, the cube and particle cloud start moving faster as I rotate with the mouse. It seems like I missed something along the way, but I'm not sure what. Any suggestions?
Thank you!