threejs-camera-controls-and-rigs

threejs-camera-controls-and-rigs is a skill for Codex from linegel/threejs-complete-set-of-skill. It costs 48 tokens per session (1,846 once invoked), scanned A, original, ISC.

A Three.js camera-management guide for WebGPU scenes, where Three.js renders 3D graphics in a browser. It defines how framing, controls, cinematic shots, image-stabilising jitter, and large-world coordinates share one camera.

In plain words
What is it for?
Use it to design perspective or orthographic framing from scene bounds, switch between controls and authored shots, manage temporal jitter, and rebase cameras in very large worlds.
Why use it?
It prevents different systems from overwriting camera settings or using inconsistent coordinate spaces. It also makes camera handoffs and resets predictable.

Skill for Codex

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

Good fit Use it to design perspective or orthographic framing from scene bounds, switch between controls and authored shots, manage temporal jitter, and rebase cameras in very large worlds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linegel/threejs-complete-set-of-skill/threejs-camera-controls-and-rigs
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 linegel/threejs-complete-set-of-skill --skill threejs-camera-controls-and-rigs
Clone the repo
git clone --depth 1 https://github.com/linegel/threejs-complete-set-of-skill

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-camera-controls-and-rigs

README.md
[![agentmods](https://agentmods.dev/badge/skills/linegel/threejs-complete-set-of-skill/threejs-camera-controls-and-rigs/github.svg)](https://agentmods.dev/skills/linegel/threejs-complete-set-of-skill/threejs-camera-controls-and-rigs)
Your own site
<a href="https://agentmods.dev/skills/linegel/threejs-complete-set-of-skill/threejs-camera-controls-and-rigs"><img src="https://agentmods.dev/badge/skills/linegel/threejs-complete-set-of-skill/threejs-camera-controls-and-rigs/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-camera-controls-and-rigs

Your own site · 80×15
<a href="https://agentmods.dev/skills/linegel/threejs-complete-set-of-skill/threejs-camera-controls-and-rigs"><img src="https://agentmods.dev/badge/skills/linegel/threejs-complete-set-of-skill/threejs-camera-controls-and-rigs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,846 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.
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.00048 $0.01846
Opus 5 $0.00024 $0.00923
Sonnet 5 $0.00010 $0.00369
Haiku 4.5 $0.00005 $0.00185

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

Security

Grade A, and why

threejs-camera-controls-and-rigs 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 12d 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-camera-controls-and-rigs/SKILL.md · 174 lines

How it starts

The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Camera Controls And Rigs

A rig publishes one semantic pose, one unjittered projection, and one origin epoch per view and frame. Controls, fit solvers, authored shots, temporal jitter, and coordinate rebasing own separate state and hand off explicitly.

1. Declare owners and spaces

Assign one writer to each channel:

Channel Writer
semantic pose active controls, fit solver, authored shot, or external/XR owner
unjittered projection active framing or shot owner
transient jitter one temporal node during render
render origin large-coordinate owner at an origin epoch
post camera data one scene pass and its declared consumers
listeners/resources/restoration scene or view lifecycle owner

Declare units, handedness, world up, camera parent contract, and conversions between object, world/global, local tangent, camera-relative, view, clip, and screen space. Camera local forward is -Z, right +X, and up +Y. Inactive input systems emit intent; only the active semantic owner writes the camera.

Complete when: every mutable camera field, matrix, temporal resource, and listener has exactly one writer and every space crossing names its conversion.

2. Choose the framing branch

Choose from the image or measurement requirement:

Requirement Architecture
asset inspection bounds-fit perspective or orthographic view plus orbit controls
architecture eye/section anchors, lens shift, and constrained orbit/pan/walk
scientific view reproducible pose, axes/units, and projection selected by measurement semantics
geospatial scale local tangent frame plus rebased or high/low camera-relative coordinates
cinematography authored pose/projection tracks with explicit cut and blend epochs

Define the subject support points, safe frame, required depth envelope, and authored lens/projection intent. Use orthographic projection when screen scale must remain independent of depth; use perspective when foreshortening carries meaning.

Read the full file on GitHub · 174 lines

Files

What ships with it

3 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. 12d ago First seen · 174 lines · 48 tokens per session scan A d04746509e73

Subscribe to this mod's changes

threejs-camera-controls-and-rigs is a skill published in the GitHub repository linegel/threejs-complete-set-of-skill (6 stars, last pushed 1mo ago), licensed ISC. It adds 48 tokens to every session and 1,846 once invoked, about $0.0002 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-31.