com um clique
threejs
Three.js 动画:AnimationMixer、关键帧、骨骼/蒙皮、morph targets 与混合。用户需要播放或混合模型动画时调用。
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Three.js 动画:AnimationMixer、关键帧、骨骼/蒙皮、morph targets 与混合。用户需要播放或混合模型动画时调用。
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional 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