nirholas/three-ws/add-mouse-driven-orbit
Add restrained mouse-driven orbit and parallax depth to a Three.js hero by damping one pointer target and splitting it across camera translation, look-at, and small object rotations. Use for passive cinematic 3D heroes, pointer-responsive scenes, organic model parallax, and interactive depth where OrbitControls would feel like a product viewer.
Agent skill · version 0.0.0-main.1794330284.g743040c · from nirholas/three.ws
Install
npx yarkr-cli add skill:nirholas/three-ws/add-mouse-driven-orbitWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:nirholas/three-ws/add-mouse-driven-orbit
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:nirholas/three-ws/add-mouse-driven-orbitOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:nirholas/three-ws/add-mouse-driven-orbitWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.