threejs-animation · cesartevisual — скилл для Claude Code: анимация Three.js
Скилл threejs-animation для Claude Code помогает создавать и настраивать анимацию в Three.js. Включается при работе с клипами, скелетной анимацией и прокруткой.
MIT 753 установок ★ 26 обновлён 2026-09-10
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a claude-codeЧто делает threejs-animation
Скилл помогает агенту реализовать анимационные клипы Three.js, скелетную анимацию, переходы и временные шкалы прокрутки. Он также задаёт правила для движения, не зависящего от частоты кадров: использовать прошедшее время или delta в секундах, а не счётчик кадров.
Для клипов скилл описывает работу с AnimationMixer, выбором клипов и переходами между действиями. Для прокрутки предлагает связать прогресс секции с временной шкалой и пересчитывать диапазоны при изменении макета. Физике нужна отдельная политика фиксированного шага.
Также он охватывает обработку паузы после возвращения на вкладку, обратную прокрутку и предпочтение reduced motion. Проверки включают разные частоты кадров и быстрые смены состояний.
Какие задачи решает
- настроить запуск и переходы между клипами
- связать анимацию с прокруткой страницы
- сделать движение независимым от частоты кадров
- обработать паузу вкладки и reduced motion
Примеры запросов агенту
- Настрой переходы между анимационными клипами Three.js.
- Свяжи временную шкалу сцены с прокруткой страницы.
- Сделай движение независимым от частоты кадров.
Как установить threejs-animation
1Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a claude-code2Вручную: положить файлы
~/.claude/skills/threejs-animation/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/threejs-animation/
1Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a codex2Вручную: положить файлы
.agents/skills/threejs-animation/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a cursor2Вручную: положить файлы
.cursor/skills/threejs-animation/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install cesartevisual/threejs-skills skills/threejs-animation2Вручную: положить файлы
.github/skills/threejs-animation/SKILL.md1Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a gemini-cli2Командой платформы
gemini skills install https://github.com/cesartevisual/threejs-skills --path skills/threejs-animationВручную: положить файлы
.devin/skills/threejs-animation/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add cesartevisual/threejs-skills --skill threejs-animation -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о threejs-animation
Как установить threejs-animation в Claude Code?
Выполни npx skills add cesartevisual/threejs-skills --skill threejs-animation -a claude-code. Файл скилла находится по пути ~/.claude/skills/threejs-animation/SKILL.md.
Что делает threejs-animation?
Скилл помогает реализовать в Three.js клипы, скелетную анимацию, переходы и анимацию, связанную с прокруткой. Также он задаёт подход к движению, независимому от частоты кадров.
Как threejs-animation работает с физикой?
Для физики скилл требует отдельной политики фиксированного шага. Визуальные временные интервалы он предлагает ограничивать после возвращения во вкладку.
Исходный текст
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
Похожие скиллы
Все скиллы по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →Сначала — threejs-animation от других авторов.