threejs-animation

Installation
Summary

Keyframe, skeletal, and morph target animation system for Three.js objects and models.

  • Supports four animation track types: number, vector, quaternion, and color keyframes with linear, smooth, and discrete interpolation modes
  • AnimationMixer plays clips on objects with full playback control: play, stop, pause, speed adjustment, weight-based blending, and fade in/out transitions
  • Skeletal animation via bone manipulation, bone attachments, and GLTF model loading with automatic clip discovery and playback
  • Morph target blending for shape deformation, plus additive animation blending for layering effects like breathing over base poses
  • Procedural animation patterns including smooth damping, spring physics, and oscillation helpers for custom motion without keyframes
SKILL.md

Three.js Animation

Quick Start

import * as THREE from "three";

// Simple procedural animation
const clock = new THREE.Clock();

function animate() {
  const delta = clock.getDelta();
  const elapsed = clock.getElapsedTime();

  mesh.rotation.y += delta;
  mesh.position.y = Math.sin(elapsed) * 0.5;

  requestAnimationFrame(animate);
  renderer.render(scene, camera);
Related skills
Installs
5.3K
GitHub Stars
2.2K
First Seen
Jan 20, 2026