threejs-animation

Implement Three.js keyframe, skeletal, and morph target animations with AnimationMixer.

Updated Nov 28, 2025
One-click install
npx skills add https://github.com/Monichre/digital-mischief-group --skill threejs-animation-monichre
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-animation
Source: https://github.com/Monichre/digital-mischief-group/tree/main/.cursor/skills/threejs-skills-main/skills/threejs-animation
Command: npx skills add https://github.com/Monichre/digital-mischief-group --skill threejs-animation-monichre

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers implement rich Three.js animations, including keyframed motion, skeletal rigs, and morph targets, enabling dynamic, interactive 3D experiences without hunting through scattered resources.

Core Features & Use Cases

  • Keyframe animation: Build smooth sequences with AnimationClip, AnimationMixer, and keyframe tracks.
  • Skeletal and morph animations: Drive bones, blend morph targets, and play GLTF animations on models.
  • Procedural motion & blending: Compose animations, mix clips, and orchestrate multiple actions for responsive scenes.
  • Use Case: Create an interactive 3D character with procedural movement and GLTF-sourced animations in a web app.

Quick Start

Install three.js in your project and initialize a simple render loop to drive an animation on a mesh. Example: install with npm and import THREE to set up a scene, then create a clip and mixer to play an animation.

Frequently Asked Questions about threejs-animation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I play Three.js glTF animations in a web app?

To play Three.js glTF animations, load the model and use AnimationMixer to drive AnimationClip data extracted from the file, enabling skeletal rigs and morph targets to render dynamically in your scene.

What is the best way to blend multiple Three.js animation clips together?

The best way to blend Three.js animation clips is by using AnimationMixer to compose procedural motion and mix multiple actions, orchestrating keyframe sequences for responsive and interactive 3D web experiences.

How do I set up a Three.js AnimationMixer for keyframe motion?

Set up Three.js AnimationMixer by initializing a render loop, creating an AnimationClip with keyframe tracks, and passing the mesh to the mixer to update and play the animation sequence on each frame.

Can I use Three.js morph targets for facial animations on imported models?

Yes, you can drive Three.js morph targets on imported models to blend facial shapes and expressions, applying AnimationClip and keyframe tracks to control the morph target influences dynamically.

Do I need a basic Three.js scene setup before implementing skeletal rig animations?

Yes, you need a basic Three.js scene setup with a render loop to drive AnimationMixer updates before implementing skeletal rig animations and playing glTF-sourced sequences on your 3D models.

Why does my Three.js AnimationMixer not update during the render loop?

Your Three.js AnimationMixer fails to animate if the render loop does not call the mixer update method with the frame delta time, preventing keyframe tracks and animation clips from progressing.