Rotate camera in Three.js with mouse
Here’s a project with a rotating camera. Looking through the source it seems to just move the camera position in a circle. function onDocumentMouseMove( event ) { event.preventDefault(); if ( isMouseDown ) { theta = – ( ( event.clientX – onMouseDownPosition.x ) * 0.5 ) + onMouseDownTheta; phi = ( ( event.clientY – onMouseDownPosition.y ) … Read more