What problem does it solve?
Three.js animation work becomes hard to manage when you need to play, blend, and combine clips for characters, models, and procedural motion without writing fragile one-off logic.
Core Features & Use Cases
- Keyframe animation clips: Build animations with AnimationClip and different KeyframeTrack types for properties like position, rotation, color, visibility, and morph targets.
- Playback and control: Use AnimationMixer and AnimationAction to play clips, control time/looping, and manage state transitions with fade and crossfade.
- Practical animation scenarios: Animate GLTF skeletal animations, attach objects to bones, drive morph-target facial expressions, and mix multiple animations based on runtime variables (e.g., speed).
Quick Start
Use the threejs-animation skill to implement animation mixing by creating an AnimationMixer for your GLTF scene, selecting clips from gltf.animations, and calling mixer.update(delta) inside your render loop.