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
- Smooth Movement: Use lerp/slerp for natural motion
- Constraints: Limit camera movement to valid ranges
- Input Handling: Support mouse, touch, and gamepad
- Performance: Update camera efficiently
- Predictable Behavior: Consistent controls across platforms
- Decoupled: Separate camera logic from scene logic