threejs-procedural-animation

threejs-procedural-animation is a skill for Codex from scottstts/Threejs-Awesome-Graphics-Agent-Skills. It costs 57 tokens per session (420 once invoked), scanned A, original, MIT.

A guide for building advanced procedural animation in Three.js, a JavaScript 3D graphics library. It covers motion such as launches, staging, docking, spinning, springs, and secondary debris.

In plain words
What is it for?
Use it to design timelines, calculate positions and orientations, preserve transforms when objects leave a hierarchy, control quaternion rotation, and create responsive spring-based movement.
Why use it?
It keeps animation tied to meaningful phases and coordinate frames instead of unrelated per-object curves. It also helps motion remain consistent across different frame rates and during replay.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Use it to design timelines, calculate positions and orientations, preserve transforms when objects leave a hierarchy, control quaternion rotation, and create responsive spring-based movement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scottstts/threejs-awesome-graphics-agent-skills/threejs-procedural-animation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add scottstts/Threejs-Awesome-Graphics-Agent-Skills --skill threejs-procedural-animation
Clone the repo
git clone --depth 1 https://github.com/scottstts/Threejs-Awesome-Graphics-Agent-Skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for threejs-procedural-animation

README.md
[![agentmods](https://agentmods.dev/badge/skills/scottstts/threejs-awesome-graphics-agent-skills/threejs-procedural-animation/github.svg)](https://agentmods.dev/skills/scottstts/threejs-awesome-graphics-agent-skills/threejs-procedural-animation)
Your own site
<a href="https://agentmods.dev/skills/scottstts/threejs-awesome-graphics-agent-skills/threejs-procedural-animation"><img src="https://agentmods.dev/badge/skills/scottstts/threejs-awesome-graphics-agent-skills/threejs-procedural-animation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for threejs-procedural-animation

Your own site · 80×15
<a href="https://agentmods.dev/skills/scottstts/threejs-awesome-graphics-agent-skills/threejs-procedural-animation"><img src="https://agentmods.dev/badge/skills/scottstts/threejs-awesome-graphics-agent-skills/threejs-procedural-animation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 420 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00420
Opus 5 $0.00028 $0.00210
Sonnet 5 $0.00011 $0.00084
Haiku 4.5 $0.00006 $0.00042

Measured 11d ago against content hash ffff08ac650e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

threejs-procedural-animation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/threejs-procedural-animation/SKILL.md · 45 lines

What it actually says

Procedural Animation

Animate semantic state, not unrelated transform curves. Define phases, coordinate frames, velocities, and ownership before writing per-frame updates.

Build order

  1. Define the timeline phases and event boundaries.
  2. Choose the frame for each motion: world, subject local, orbital radial, docking axis, or camera shot.
  3. Derive target position/orientation from that frame.
  4. Use analytic kinematics for authored travel and springs for responsive convergence.
  5. Preserve world transforms when detaching children from a hierarchy.
  6. Separate translation, alignment, spin, and secondary debris state.
  7. Clamp integration delta and reset every state variable on replay/disposal.

Read references/procedural-motion-and-docking-systems.md for the launch, staging, docking, debris, spring, quaternion, and frame-rate-independent response implementations.

Non-negotiable rules

  • Use elapsed seconds and deltaSeconds; do not make motion frame-count based.
  • Derive orientation from direction/frame, then apply roll or spin as a separate quaternion.
  • Decompose docking error into axial and radial components.
  • Switch from spring convergence to an exact terminal pose at the end of a sequence.
  • When reparenting an animated object, capture world position, quaternion, and scale before removal.
  • Use seeded randomness when motion must be reproducible.
  • Keep visual shake in a bounded envelope and separate it from trajectory.

Routing boundary

Use $threejs-camera-direction for shot composition and camera handoffs. Use $threejs-procedural-vfx when the deliverable is primarily plasma, sparks, or effect pooling rather than object transform motion.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 45 lines · 57 tokens per session scan A ffff08ac650e

Subscribe to this mod's changes

threejs-procedural-animation is a skill published in the GitHub repository scottstts/Threejs-Awesome-Graphics-Agent-Skills (800 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 420 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

p5js

Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.

NousResearch/hermes-agent · 20 tokens

webgl-liquid-metal

A real-time liquid-metal shader — a domain-warped noise field shaded as molten chrome, with a sweeping specular highlight over an iridescent thin-film (cosine-palette) sheen. No textures. Rendered as a single self-contained index.html. Use when the brief asks for "liquid metal", "molten chrome", "iridescent"…

nexu-io/open-design · 121 tokens

webgl-particle-galaxy

A real-time particle galaxy — tens of thousands of additive-blended GPU points spiraling around a bright core, their orbits solved entirely in the vertex shader (from glVertexID), so the whole cloud draws in one call. Rendered as a single self-contained index.html. Use when the brief asks for a "particle field"…

nexu-io/open-design · 126 tokens

webgl-horizontal-parallax

A horizontal-scroll WebGL gallery (Three.js): frames glide sideways with lerp smoothing and each image parallaxes its texture (UV shift) by its position in the viewport.

nexu-io/open-design · 41 tokens

webgl-aurora-veil

A self-contained WebGL2 hero: layered aurora light curtains warped over a night sky scattered with stars; move the cursor to sway the veil.

nexu-io/open-design · 38 tokens

remotion-to-hyperframes

Port an existing Remotion (React) composition's source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear →…

heygen-com/hyperframes · 84 tokens