threejs-animation

Animate Three.js objects with keyframe clips, mixers, and actions.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/CarlosQ96/robot-crawler --skill threejs-animation-carlosq96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-animation
Source: https://github.com/CarlosQ96/robot-crawler/tree/main/.agents/skills/threejs-animation
Command: npx skills add https://github.com/CarlosQ96/robot-crawler --skill threejs-animation-carlosq96

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill tackles the complexity of creating smooth, interactive 3D animations in web applications, making it easier to bring models and scenes to life without wrestling with intricate timing and blending logic.

Core Features & Use Cases

  • Keyframe Animation: Build and play custom animation clips using tracks for position, rotation, scale, and more.
  • Skeletal and Morph Animation: Load and control GLTF models with bone manipulation and shape blending for character movements.
  • Animation Mixing: Blend multiple actions with weights, fades, and modes for realistic procedural behaviors like walking or idling.
  • Use Case: For a game developer building a character controller, use this Skill to load a GLTF model, play walk animations based on player speed, and blend them with idle poses for seamless transitions.

Quick Start

Create a simple rotating and bobbing animation for a mesh in your Three.js scene using an AnimationMixer and NumberKeyframeTrack.

Frequently Asked Questions about threejs-animation

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

FAQPage Schema
How do I play and blend skeletal animations from a GLTF model in Three.js?

Load a GLTF model in Three.js and use an AnimationMixer to control skeletal animations. Apply weights, fades, and additive blending modes to mix multiple actions for smooth transitions between character movements.

What is the best way to create keyframe animations for 3D objects in a web application?

Build custom keyframe animation clips using tracks for position, rotation, and scale. An AnimationMixer handles playback control, event handling, and performance optimization for real-time rendering pipelines in web applications.

Can I use morph targets and additive blending in Three.js for interactive visualizations?

Yes, Three.js supports morph targets for shape blending and additive blending within the AnimationMixer. This allows you to layer procedural motions on base shapes for interactive 3D visualizations and web-based games.

How does animation mixing work with Three.js AnimationMixer and actions?

Animation mixing in Three.js works by binding multiple actions to an AnimationMixer and applying weights to each. This enables cross-fades and additive blending modes, creating seamless procedural behaviors for real-time 3D rendering.

Does Three.js support playback control and event handling for loaded animation clips?

Yes, Three.js provides playback control and event handling for animation clips. The AnimationMixer manages timing and state, enabling you to script procedural behaviors and optimize performance during real-time rendering.