threejs-animation
Installation
SKILL.md
Three.js Animation Skill
When to use
- Animating 3D models (walk cycles, character rigs, product reveals)
- Keyframe-based animations from Blender/Maya exported as glTF
- Procedural motion (orbiting, waving, pulsing)
- Morph target animations (facial expressions, shape morphing)
Animation system overview
- AnimationMixer: Manages all animations for an object
- AnimationClip: Contains keyframe tracks
- AnimationAction: Controls playback (play, pause, blend, loop)
Quick recipe — Play glTF animation
import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js";
const loader = new GLTFLoader();
const clock = new THREE.Clock();
let mixer;