The idea is to capture the mousemove event and use the event data to change the rotation of the camera. You can adjust the speed of the movements by altering the hard-coded numbers in the render loop. Besides, the code uses the wheel event in order to translate the camera along a predefined axis.
In general, it’s not necessary to use OrbitControls for this use case.