skills/threejs-skills/threejs-animation/SKILL.md
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.
npx skillsauth add partme-ai/full-stack-skills threejs-animationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ALWAYS use this skill when the user mentions:
AnimationMixer.update, AnimationAction play/pause/stop, crossfade, synchronized clipsAnimationClip from glTF or AnimationClipCreator, retargeting caveats at API levelCCDIKSolver / CCDIKHelper from addonsIMPORTANT: animation vs objects
SkinnedMesh/Skeleton attachment, bind pose—mesh side.Trigger phrases include:
gltf.animations or create with utilities / AnimationClipCreator.scene or rig root).mixer.clipAction(clip); configure loop mode (LoopOnce, LoopRepeat, LoopPingPong).Clock from core—documented under Core in docs index), call mixer.update(delta).weight, crossFadeTo, enabled flags; watch for additive vs full replacement semantics per docs.See examples/workflow-mixer-action.md.
| 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.
mixer.update freezes animation; double update per frame speeds up.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.
When answering under this skill, prefer responses that:
AnimationMixer, AnimationAction, etc.) or addon (CCDIKSolver) from the official docs.https://threejs.org/docs/... link (e.g. AnimationAction).SkinnedMesh / skeleton via threejs-objects when deformation is involved.mixer.update(delta) and a stable time source (Clock) explicitly.English: animationmixer, animationaction, animationclip, keyframetrack, crossfade, skinning, propertybinding, three.js
中文: 动画混合、AnimationMixer、AnimationAction、关键帧、骨骼动画、剪辑、淡入淡出、three.js
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.