A dual-mode (first- and third-person) chase-style camera for THREE.js