threejs-camera-controls

Installation
SKILL.md

Three.js Camera Controls

When to Use

Use this skill when:

  • Implementing camera movement and controls
  • Creating orbit/pan/zoom functionality
  • Building first-person or third-person views
  • Implementing cinematic camera paths
  • Managing multiple camera perspectives

Core Principles

  1. Smooth Movement: Use lerp/slerp for natural motion
  2. Constraints: Limit camera movement to valid ranges
  3. Input Handling: Support mouse, touch, and gamepad
  4. Performance: Update camera efficiently
  5. Predictable Behavior: Consistent controls across platforms
  6. Decoupled: Separate camera logic from scene logic
Installs
7
GitHub Stars
26
First Seen
Jul 10, 2026