Orbit camera controller for Axis3D.
$ npm install axis3d axis3d-orbit-camera
const { PerspectiveCamera } = require('axis3d/camera')
const { Context } = require('axis3d')
const ctx = new Context()
const orbitCamera = new OrbitCameraController(ctx, {
camera: new PerspectiveCamera(ctx)
})
orbitCamera(() => {
// scene
})
MIT