一键导入
threejs
Three.js 动画:AnimationMixer、关键帧、骨骼/蒙皮、morph targets 与混合。用户需要播放或混合模型动画时调用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Three.js 动画:AnimationMixer、关键帧、骨骼/蒙皮、morph targets 与混合。用户需要播放或混合模型动画时调用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Weekly Focus Engineering analysis using ActivityWatch data. Use when analyzing app usage patterns, detecting context switching problems, identifying "death loops" (repetitive app switching), calculating focus scores, or creating weekly productivity reviews.
WCAG 2.2 AA conformance auditor. Systematically verifies success criteria through automated, interactive, and manual testing methods.
Implement features from spec documents (context/doc required)
PR review for bugs, security & quality (requires PR URL)
Brutally honest roasts of your code with fixes
Accessibility improvement planning support. Generates organizational maturity assessment, phased roadmap, KPI design, and stakeholder persuasion materials.
| name | Three.js动画 |
| description | Three.js 动画:AnimationMixer、关键帧、骨骼/蒙皮、morph targets 与混合。用户需要播放或混合模型动画时调用。 |
import * as THREE from "three";
const clock = new THREE.Clock();
const mixer = new THREE.AnimationMixer(gltf.scene);
const clip = gltf.animations[0];
const action = mixer.clipAction(clip);
action.play();
function animate() {
requestAnimationFrame(animate);
mixer.update(clock.getDelta());
renderer.render(scene, camera);
}
animate();
AnimationClip:动画数据(轨道集合)AnimationAction:某个 clip 在 mixer 上的播放实例(可暂停/淡入淡出/权重)AnimationMixer:驱动更新与混合action.setLoop(THREE.LoopRepeat, Infinity);
action.timeScale = 1.0;
actionA.reset().fadeIn(0.2).play();
actionB.fadeOut(0.2);
mixer.update(dt) 建议使用稳定 dt(Clock.getDelta)stop(),并避免每帧创建 action