
threejs-animation
three.js keyframe animation system: AnimationMixer, AnimationClip, AnimationAction, KeyframeTrack variants, PropertyBinding, PropertyMixer, AnimationObjectGroup, AnimationUtils; mixing and crossfading clips, loop modes, timeScale, weight; addon AnimationClipCreator and CCDIKSolver for procedural rigs. Use when playing glTF clips, blending actions, or authoring procedural tracks; for skin deformation rigging on meshes see threejs-objects; for math interpolants without clips see threejs-math only when not tied to AnimationMixer.
- Installs
- 415
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/full-stack-skills/threejs-skills --skill threejs-animation- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads threejs-animation automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
When to use this skill
ALWAYS use this skill when the user mentions:
AnimationMixer.update,AnimationActionplay/pause/stop, crossfade, synchronized clipsAnimationClipfrom glTF orAnimationClipCreator, retargeting caveats at API level- Keyframe tracks: position/rotation/scale/color tracks, boolean/string tracks where applicable
- IK:
CCDIKSolver/CCDIKHelperfrom addons
IMPORTANT: animation vs objects
- threejs-animation = time evaluation and tracks.
- threejs-objects =
SkinnedMesh/Skeletonattachment, bind pose—mesh side.
Trigger phrases include:
- "AnimationMixer", "AnimationAction", "AnimationClip", "crossFade", "KeyframeTrack"
- "动画混合", "骨骼动画", "剪辑", "淡入淡出"
How to use this skill
- Collect clips from
gltf.animationsor create with utilities /AnimationClipCreator. - Create mixer bound to root object (often
sceneor rig root). - Create actions per clip via
mixer.clipAction(clip); configure loop mode (LoopOnce,LoopRepeat,LoopPingPong). - Per frame: compute delta seconds (use
Clockfrom core—documented under Core in docs index), callmixer.update(delta). - Blending: adjust
weight,crossFadeTo,enabledflags; watch for additive vs full replacement semantics per docs. - PropertyBinding: understand path strings targeting bones/morphs—errors often from wrong object names.
- IK addon: attach solver after base animation if using CCD IK from examples.
See examples/workflow-mixer-action.md.
Doc map (official)
| Docs section | Representative links |
|---|---|
| Animation (index) | https://threejs.org/docs/#Animation |
| Action | https://threejs.org/docs/AnimationAction.html |
| Mixer | https://threejs.org/docs/AnimationMixer.html |
| Clip | https://threejs.org/docs/AnimationClip.html |
| Tracks | https://threejs.org/docs/KeyframeTrack.html |
More: references/official-sections.md.
Scope
- In scope: Core Animation module, keyframe pipeline, listed addons for clip creation and IK.
- Out of scope: DCC export best practices; physics ragdoll; audio sync (link conceptually only).
Common pitfalls and best practices
- Forgetting
mixer.updatefreezes animation; doubleupdateper frame speeds up. - Mixing clips with incompatible hierarchies causes violent pops—validate bind pose.
- Root motion must be handled in game logic if not baked—document explicitly.
- Large track counts cost CPU—strip unused tracks in preprocessing when possible.
Documentation and version
Behavior of AnimationMixer, tracks, and glTF animation import can change between three.js majors. Treat the Animation section of the docs index as authoritative for the user’s installed version; when upgrading, check the three.js repository release notes and migration notes for renamed properties or loader output.
Agent response checklist
When answering under this skill, prefer responses that:
- Cite the exact class (
AnimationMixer,AnimationAction, etc.) or addon (CCDIKSolver) from the official docs. - Include at least one
https://threejs.org/docs/...link (e.g. AnimationAction). - Relate clips to
SkinnedMesh/ skeleton via threejs-objects when deformation is involved. - Mention
mixer.update(delta)and a stable time source (Clock) explicitly. - Reference official examples by name only (no full file paste).
References
- https://threejs.org/docs/#Animation
- https://threejs.org/docs/AnimationMixer.html
- https://threejs.org/docs/AnimationAction.html
- https://threejs.org/docs/PropertyBinding.html
Keywords
English: animationmixer, animationaction, animationclip, keyframetrack, crossfade, skinning, propertybinding, three.js
中文: 动画混合、AnimationMixer、AnimationAction、关键帧、骨骼动画、剪辑、淡入淡出、three.js
FAQ
What does the threejs-animation skill do?
three.js keyframe animation system: AnimationMixer, AnimationClip, AnimationAction, KeyframeTrack variants, PropertyBinding, PropertyMixer, AnimationObjectGroup, AnimationUtils; mixing and crossfading clips, loop modes, timeScale, weight; addon AnimationClipCreator and CCDIKSolver for procedural rigs. Use when playing glTF clips, blending actions, or authoring procedural tracks; for skin deformation rigging on meshes see threejs-objects; for math interpolants without clips see threejs-math only when not tied to AnimationMixer.
How do I install threejs-animation?
Run npx skills add https://github.com/full-stack-skills/threejs-skills --skill threejs-animation in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/threejs-animation/ (personal) or .claude/skills/threejs-animation/ (project).
Which AI agents can use threejs-animation?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is threejs-animation safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains threejs-animation?
It is published by full-stack-skills in full-stack-skills/threejs-skills. It has 415 recorded installs.
More from full-stack-skills/threejs-skills
threejs-camera
full-stack-skills/threejs-skills
three.js cameras: Camera base, PerspectiveCamera, OrthographicCamera, CubeCamera, ArrayCamera, StereoCamera; projection matrices, aspect, FOV, orthographic frustum sizes, near/far planes, and dynamic environment maps with CubeCamera. Use when placing views, rendering reflections, or multi-view splits; for XR projections and eye matrices use threejs-webxr; for post pass camera tricks use threejs-postprocessing alongside threejs-renderers.
threejs-postprocessing
full-stack-skills/threejs-skills
Addon screen-space post-processing for three.js using EffectComposer, Pass base class, RenderPass, and stock passes such as UnrealBloomPass, SSAOPass, SSRPass, BokehPass, OutlinePass, FXAAPass/SMAAPass, TAARenderPass, and ShaderPass; references the Shaders addon group for underlying shader modules; contrasts with core PostProcessing class used in node/WebGPU stacks (see threejs-node-tsl and threejs-renderers). Use when building composer chains—not for basic renderer tone mapping alone (threejs-renderers).
threejs-objects
full-stack-skills/threejs-skills
three.js scene graph objects: Object3D transforms and hierarchy, Group, Mesh, InstancedMesh, SkinnedMesh, BatchedMesh, LOD, Line/LineLoop/LineSegments, Points, Sprite, Bone, Skeleton, ClippingGroup; interaction via Raycaster, Layers masks, and EventDispatcher patterns. Merges the former interaction scope—use for picking and layers; for pure vector math without scene graph use threejs-math; for playing skeletal clips use threejs-animation; for frustum culling internals see camera docs.
threejs-materials
full-stack-skills/threejs-skills
Open the skill to read its SKILL.md instructions.
threejs-renderers
full-stack-skills/threejs-skills
Open the skill to read its SKILL.md instructions.
threejs-dev-setup
full-stack-skills/threejs-skills
Bootstrap and toolchain guidance for three.js applications using npm, Vite/Webpack/Rollup, bare ESM import maps, and TypeScript. Covers canonical import paths for three core versus three/addons/ (examples/jsm re-exports), version alignment with https://threejs.org/docs/, and fixing "module not found" for loaders and controls. Use when scaffolding a new 3D project, migrating bundler, or debugging resolution of addons—do not use for rendering API details (see threejs-renderers) or asset loading logic (see threejs-loaders).
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.