threejs-animation

Implement keyframe, skeletal, and morph-target animations for Three.js GLTF/GLB scenes.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/Clinscott/CStar --skill threejs-animation-clinscott
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: threejs-animation
Source: https://github.com/Clinscott/CStar/tree/main/skills_db/threejs-skills/skills/threejs-animation
Command: npx skills add https://github.com/Clinscott/CStar --skill threejs-animation-clinscott

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers implement and manage complex Three.js animations in web scenes, reducing integration time and boosting visual quality.

Core Features & Use Cases

  • Support for keyframe, skeletal, and morph-target animations
  • Animation blending and crossfades using AnimationAction and AnimationMixer
  • Easy loading and playback of GLTF/GLB animations and clips in interactive scenes
  • Performance tips and best practices for smooth real-time animation

Quick Start

Create and control keyframe, skeletal, and morph target animations in your Three.js scene using the provided guide.

Frequently Asked Questions about threejs-animation

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

FAQPage Schema
How do I load and play GLTF animations in a Three.js scene?

Blend skeletal animations in Three.js using AnimationAction methods to crossfade between clips, managing simultaneous morph-target updates and keyframe timelines via a single AnimationMixer instance.

What is the best way to handle morph-target animations with WebGL?

Handle morph-target animations in WebGL by binding morph attributes to AnimationClip tracks, updating target influences per frame through AnimationMixer to achieve smooth facial or shape deformations.

How do I keep Three.js animations performant during real-time rendering?

Keep Three.js animations performant by applying performance-aware update loops, optimizing AnimationMixer delta calculations, and minimizing redundant skeletal or morph-target recalculations during WebGL rendering.

Can I use AnimationMixer to blend multiple keyframe clips on a single GLTF model?

AnimationMixer blends multiple keyframe clips on a single GLTF model by managing concurrent AnimationAction instances, enabling seamless transitions and layered skeletal or morph-target animations.

Why do my Three.js skeletal animations not play correctly after loading a GLB file?

Three.js skeletal animations fail to play when GLB clips are not properly bound to the skeleton or when the AnimationMixer update loop is missing, requiring correct clip assignment and delta-time updates.