Skip to content
Skillpedia
Motion & animation48k · #5984

threejs-animation

What it does

This tool helps create 3D animations using the Three.js library. It allows you to animate objects, characters (with skeletons), and even facial expressions, as well as blend different animations.

When to use it

  • ✓When you want objects in a 3D scene to move.
  • ✓When using 3D models that already come with animations (like GLTF files).
  • ✓To create movements that are not predefined but generated by code.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/threejs-animation/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/threejs-animation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create an animation for a spinning, color-changing cube in Three.js.”

5 new skills a week. 1 minute to read.

threejs-animation: full guide

Moving things in a 3D web scene looks simple until you try it. Three.js has several animation tools: keyframe tracks, skeleton rigs, morph targets, and a mixer that plays and blends clips. Knowing which one fits your job, and how to wire it into the render loop, is where most people get stuck.

This skill gives your agent a guide to those tools. It covers objects that move by keyframes, imported GLTF models that carry their own clips, and motion you generate with code. It suits web developers, designers who work with developers, and anyone building a 3D page with an AI agent. It is only for Three.js scenes. If you want a rendered video file, look at the alternatives below.

Use cases

Play the clips inside a GLTF character

You downloaded a character model with idle, walk and wave clips. Ask the agent to load it, list the clips, and play them with an animation mixer. It can then switch between them, for example when a button is pressed.

Blend two animations smoothly

A character walks, then should start running. A hard switch looks jerky. The skill covers animation mixing, so the agent can fade out one clip while fading in the other, and you can tune how long the transition takes.

Drive a face with morph targets

Your model has shape keys such as smile, blink and mouth open. Ask the agent to animate those morph targets over time, for example a blink every few seconds, so the face feels alive without a full skeleton animation.

Step by step

  1. 1Install the skill by placing its folder in ~/.claude/skills/threejs-animation/ (or your project's .claude/skills/). Make sure the folder includes the references file the SKILL.md points to.
  2. 2Open or create a Three.js project, and put any GLTF model you want to animate in a folder the project can load.
  3. 3Describe what should move and when: which object, which clip or motion, and what triggers it. Mention if it should loop.
  4. 4Run the project in your browser. Check that the animation updates every frame, then ask the agent to adjust speed, looping or transitions.
  5. 5If something looks wrong, tell the agent what you see, such as a model frozen in a T-pose, and ask it to check the clip names and the mixer update.

Example

What to ask

“I loaded robot.glb in my Three.js scene. It has clips called Idle and Walk. Play Idle by default, switch to Walk when I press the space bar, and fade between them over half a second.”

What you get

The agent adds an animation mixer, creates actions for both clips, and updates the mixer in the render loop using the frame time. It writes a key listener that fades Idle out and Walk in over 0.5 seconds, and explains where to change the duration.

Tips

  • ✓Check the exact clip names in your model before asking. If you ask for "Walk" but the file calls it "walk_cycle", nothing will play.
  • ✓The skill is marked as high risk and tells the agent to read its detailed guide first. Let it do that, and review the code before running it, since the skill does not replace your own testing.
  • ✓Giving the agent the model file, or a list of its clips, gives better results than describing it. Also note that this skill covers motion inside the scene, not exporting a video file.

Alternatives

  • canvas-procedural-animation

    Pick it when you want code-generated motion such as rain, snow or walk cycles in 2D with p5.js or Canvas, not a Three.js scene.

  • blender-motion-state-inspection

    Pick it when you need to inspect poses and character alignment in an animation made in Blender, before it reaches Three.js.

  • design-motion

    Pick it when you want a finished looping video or GIF of an approved design rather than a live interactive 3D scene.

Questions and answers

Do I need to know JavaScript to use this skill?

Not deeply. The agent writes the code, but you will run a Three.js project in a browser and describe what you see. Basic comfort with opening files and running a local page helps a lot.

Why does my model appear but not move?

Common causes are a missing mixer update in the render loop, a clip name that does not match, or a model with no animation data. Ask the agent to log the clips found in the file.

Can I export the animation as a video file?

The skill is about animation inside a live Three.js scene. It does not mention video export. For a rendered video, a video-focused skill such as design-motion or hyperframes is a better fit.

How it works

The tool uses a system called 'keyframe animation' where you define the states of an object at different points in time. It can also handle more complex character animations and blend multiple animations for smooth motion.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Three.js Animation

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use

  • You need to animate objects, rigs, morph targets, or imported GLTF animations in Three.js.
  • The task involves mixers, clips, keyframes, procedural motion, or animation blending.
  • You are building motion behavior in a Three.js scene rather than just static rendering.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
FAQ

What are 'keyframes'?

They are like important 'snapshots' in an animation. You define how something should look at a 'keyframe' (e.g., position and color), and the tool calculates the movements between them.

What is 'skeletal animation'?

It's a technique used to animate characters or complex objects. The object has an internal 'skeleton', and animating the skeleton moves the object's parts.

Can I use animations from other programs?

Yes, especially if they are in the GLTF format, which is commonly used for 3D models with animations.

Details

Original description by the author

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#5984
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills