Skip to main content
skill CX Codex

threejs-animation · cesartevisual — Claude Code skill for Three.js animation

threejs-animation — a skill for Claude Code guides animation work in Three.js. It covers clips, skeletal motion, transitions, and scroll-driven timelines.

MIT 753 installs ★ 26 updated 2026-09-10

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a claude-code
Open on GitHub

What threejs-animation does

This skill guides the implementation of Three.js animation clips, skeletal motion, transitions, and timelines driven by scrolling. It favors elapsed time in seconds over frame counts so motion does not depend on frame rate.

For clip playback, it covers mixers, clip selection, looping, pausing, and transitions between actions. Scroll timelines map section progress to a defined range, with recalculation when the layout changes. Physics needs a separate fixed-step policy.

The guidance also covers large time gaps after a tab resumes, reverse scrolling, and reduced-motion preferences. Suggested checks include different frame rates and rapid state changes.

What it helps with

  • set up playback and transitions between animation clips
  • map page scrolling to an animation timeline
  • keep motion independent of frame rate
  • handle resumed tabs and reduced-motion preferences

Example prompts for the agent

  • Set up transitions between the Three.js animation clips.
  • Connect the scene timeline to page scrolling.
  • Make the motion independent of frame rate.

How to install threejs-animation

1Skills CLI (Vercel)

npx skills add cesartevisual/threejs-skills --skill threejs-animation -a claude-code

2Manually: put the files in place

~/.claude/skills/threejs-animation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/threejs-animation/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about threejs-animation

How do I install threejs-animation in Claude Code?

Run npx skills add cesartevisual/threejs-skills --skill threejs-animation -a claude-code. The skill file is at ~/.claude/skills/threejs-animation/SKILL.md.

What does threejs-animation do?

It guides an agent through Three.js clips, skeletal animation, transitions, and scroll-based timelines. It also covers motion that stays independent of frame rate.

What does threejs-animation recommend for physics?

It calls for a separate fixed-step policy for physics. Visual time deltas should be clamped after a tab resumes.

Source text

SKILL.md · MIT
---
name: threejs-animation
description: "Implement Three.js animation clips, skeletal animation, transitions, scroll timelines, and frame-independent motion."
---

# Animation and Timelines

Use the project's installed versions and existing architecture. These instructions supplement the user's task; they do not authorize unrelated changes or external actions.

Identify which system owns each animated property: imported clips, procedural motion, scroll timeline, controls, or physics. Blend or hand off explicitly when two systems would otherwise write the same transform.

Use elapsed time or delta in seconds rather than frame counts. Clamp large visual deltas after a tab resumes; physics needs its own fixed-step policy. Use frame-independent damping such as 1 - exp(-lambda * delta), with reusable scratch values.

Create a mixer for the appropriate root, select clips by inspected names, and define loop, pause, finished, and transition behavior. Reset and play the destination action as needed for crossfades; inspect root motion rather than silently translating both the root and its parent.

For scroll, map normalized section progress to a defined timeline. Recalculate ranges on layout changes and handle reverse scrolling and jumps directly. Do not accumulate scroll deltas as if all input arrived continuously. Keep text readable and content reachable without the animated camera path.

Respect reduced-motion preferences by removing nonessential motion or presenting stable states. Suspend work when the scene is inactive where practical. Stop owned actions, remove mixer listeners, and uncache roots only after their actions stop.

Verify at different frame rates, after backgrounding, during rapid state changes, on backward scroll, and with reduced motion. Confirm animation speed and final states remain consistent.

## API reference

Consult the [official documentation](https://threejs.org/docs/pages/AnimationMixer.html) for exact signatures and revision-specific behavior. If documentation access is unavailable, inspect installed types/source and state any remaining uncertainty.

© cesartevisual · MIT · cesartevisual/threejs-skills

Similar skills

All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →

threejs-animation by other authors comes first.

threejs-animation CloudAI-X threejs-animation — a skill for keyframe, skeletal and morph-target animation in Three.js. Play glTF animations, control bones, blend and crossfade clips on WebGL and WebGPU. CX Codex +1 27,200installs threejs-animation calesthio The threejs-animation skill helps an agent build Three.js motion with keyframes, bones, morph targets, and clip blending. Use it for procedural motion or GLTF playback. CX Codex +1 1,200installs threejs-animation iart-ai threejs-animation — a coding-agent skill for Three.js and React Three Fiber motion: scenes, GLTF clips, scroll-linked cameras, instancing and GPU cleanup. CX Codex +1 2,300installs threejs-landscape MengTo This skill builds a live Three.js landscape: terrain, grass, stones, sky and a time-of-day cycle. It suits hero backdrops where a subject has to sit somewhere, not float on a gradient. CX Codex +1 1,600installs threejs-towers MengTo threejs-towers — a skill for Claude Code and five other platforms that gives the agent a geometry vocabulary for building pagodas, castles and domes from parameters in Three.js. CX Codex +1 1,500installs threejs-earth-render vibe-motion threejs-earth-render clones the Three.js Earth repo, renders a globe route animation with Puppeteer frame capture, and writes a GIF or MP4. CX Codex +1 871installs threejs-skills sickn33 threejs-skills — a skill for creating 3D scenes, interactive experiences, and visual effects with Three.js. Install it when you need 3D graphics, WebGL rendering, animations, or data visualization in three-dimensional space. CX Codex +1 3installs r3f-animation zebbern r3f-animation teaches the coding agent how to handle React Three Fiber animations, GLTF clip blending, and spring motion. CX Codex +1 ★ 4,719repo stars animation-system zebbern animation-system — a practical guide to Three.js animation, from playing and blending clips to morph targets and bones. Useful when building scenes with animated models. CX Codex +1 ★ 4,719repo stars

From the same set24

The whole set →
threejs-r3f The threejs-r3f Claude Code skill helps build and repair React Three Fiber scenes. It covers Drei helpers, Suspense loading, events, and React lifecycle integration. CX Codex +1 820installs threejs-performance threejs-performance is a Claude Code skill that profiles and optimizes Three.js frame time, GPU workload, asset memory, and resource leaks. CX Codex +1 817installs threejs-web This Claude Code skill plans and builds Three.js web experiences or focused 3D features. It inspects the project and checks the result in a browser. CX Codex +1 776installs threejs-lighting The threejs-lighting Claude Code skill guides lighting and shadow work in Three.js scenes. It comes into play when setting up environment maps, direct lights, or shadow maps. CX Codex +1 694installs threejs-shaders threejs-shaders — a Claude Code skill for writing and debugging Three.js GLSL shaders, custom material effects, uniforms, and geometry deformation. CX Codex +1 694installs threejs-testing threejs-testing — a skill for Claude Code defines visual QA and browser testing guidelines for Three.js scenes. Focuses on deterministic fixtures, GPU checks, and teardown lifecycle tests. CX Codex +1 681installs threejs-interaction This Claude Code skill guides Three.js interaction work, from object picking to orbit controls. It applies when an agent is asked to add dragging, selection, or synchronized HTML controls. CX Codex +1 681installs threejs-assets The threejs-assets Claude Code skill guides loading and managing glTF models, textures, and user-provided 3D files. It applies to asset validation, compression, caching, and cleanup in Three.js projects. CX Codex +1 676installs

Project sponsors

Companies that keep this analytics open