/threejs-skills:threejs-controlsfrom threejs-skills
Implements three.js addon camera and object manipulation controls: OrbitControls, MapControls, FlyControls, FirstPersonControls, TrackballControls, ArcballControls, DragControls, PointerLockControls, TransformControls. Covers damping, target focal point, animation loop integration, and editor-style navigation with gizmos.
Ships in threejs-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
ALWAYS use this skill when the user mentions:
TransformControlsIMPORTANT: controls vs webxr
| Context | Skill |
|---|---|
| Desktop/browser camera nav | threejs-controls |
| XR controller poses | threejs-webxr |
Trigger phrases include:
(camera, domElement); for TransformControls also attach to renderer events.enableDamping, call controls.update() each frame.dragging-changed to disable Orbit temporarily; sync with selection from threejs-objects.controls.dispose() when tearing down.See examples/workflow-orbit-damping.md.
| Docs section | Representative links |
|---|---|
| Controls | https://threejs.org/docs/OrbitControls.html |
| Controls | https://threejs.org/docs/TransformControls.html |
| Controls | https://threejs.org/docs/MapControls.html |
| Controls (index) | https://threejs.org/docs/#Controls |
update() with damping enabled causes drift never settling.Controls are under Controls (Addons) in three.js docs. API details (enableDamping, events) evolve—link OrbitControls / TransformControls pages for the user’s three.js version.
When answering under this skill, prefer responses that:
controls.update() when damping is on, every frame.TransformControls with selection / threejs-objects raycasting.dispose() on controls when unmounting canvas.English: orbitcontrols, transformcontrols, mapcontrols, damping, camera controls, three.js
中文: OrbitControls、轨道、TransformControls、变换控制器、阻尼、three.js
What SKILL.md sets; muted values are Claude Code's defaults
18 skills in this plugin
/threejs-animationthree.js keyframe animation system: AnimationMixer, AnimationClip, AnimationAction, KeyframeTrack variants, PropertyBinding, PropertyMixer, AnimationObjectGroup, AnimationUtils; mixing and crossfading clips, loop modes, timeScale, weight; addon AnimationClipCreator and CCDIKSolver for procedural rigs. Use when playing glTF clips, blending actions, or authoring procedural tracks; for skin deformation rigging on meshes see threejs-objects; for math interpolants without clips see threejs-math only when not tied to AnimationMixer./threejs-audiothree.js audio spatialization: AudioListener attached to camera rig, Audio and PositionalAudio sources, AudioAnalyser for FFT/time-domain data, and integration with Web Audio API contexts; AudioLoader is referenced from threejs-loaders for file decoding. Use when placing 3D sound, configuring panner parameters, or visualization; not a replacement for full game audio middleware./threejs-camerathree.js cameras: Camera base, PerspectiveCamera, OrthographicCamera, CubeCamera, ArrayCamera, StereoCamera; projection matrices, aspect, FOV, orthographic frustum sizes, near/far planes, and dynamic environment maps with CubeCamera. Use when placing views, rendering reflections, or multi-view splits; for XR projections and eye matrices use threejs-webxr; for post pass camera tricks use threejs-postprocessing alongside threejs-renderers.Generated from the plugin's indexed repository (full-stack-skills/threejs-skills) — no native marketplace selected
npx claudepluginhub p/full-stack-skills-threejs-skillsOther plugins' skills for the same job