character-camera SKILL.md skillA
character-camera from wolffe/three.js-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add wolffe/three.js-skills/character-camera@git:20261031.845cf45Pins git:20261031.845cf45 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- wolffe/three.js-skills
- Path
skills/character/character-camera/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261031.845cf45, committed Oct 31, 2026
- First version recorded
- Oct 28, 2026
- Size
- 3,498 bytes
- Repository stars
- 3
- License
- MIT
First-person look and third-person orbit cameras for a walking character in Three.js 0.187.0, with drag or pointer-lock steering, scroll zoom and smoothed follow. Use when a scene needs a player camera attached to a moving body. Ships character-camera.js.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Character camera
Target: Three.js 0.187.0 WebGPU. `scripts/character-camera.js` exports
`createCameraManager`, `createFirstPersonCamera` and `createThirdPersonCamera`. They
depend only on `three/webgpu` and on an input object that provides
`consumeMouseDelta()` (see `character-input`).
## Model
A camera manager owns the `PerspectiveCamera` and one active controller function
`(camera, dt) => void`. The two controllers are factories that keep their own state
(yaw and pitch) and return a bound controller when given the input and a target getter.
Switching views is `manager.setController(...)`; nothing else changes.
```js
const manager = createCameraManager(camera, { fov: 75 });
const fp = createFirstPersonCamera({ sensitivity: 0.003 });
const tp = createThirdPersonCamera({ distance: 3, height: 0.5, sensitivity: 0.003 });
manager.setController(fp.bind(input, () => opts)); // first person
manager.setController(tp.bind(input, getAnchor, () => opts)); // third person
manager.update(dt); // once per frame, before the wish direction is computed
```
`getAnchor` returns the point the orbit looks at: the character's capsule centre plus
…Read the whole file at its exact version.
How to install
mdr add wolffe/three.js-skills/character-camera@sha256:0c6667a532a84141The line at the top of this page pins the label git:20261031.845cf45, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zjybeiywtyt3wjjv)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Oct 28, 2026 and Oct 31, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261031.845cf45 latest | 2026-10-31 | 845cf45 | 3,498 B | A | view · diff |
| git:20261028.62f2e2f | 2026-10-28 | 62f2e2f | 3,498 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3498 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
wolffe/three.js-skills · 3 stars · license MIT · pushed 2026-11-02 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_zjybeiywtyt3wjjv GET https://markdownregistry.com/api/v1/resolve?ref=wolffe/three.js-skills/character-camera GET https://markdownregistry.com/api/v1/blob/0c6667a532a841417d82aa40736760b027eb6f2f5dcab8d91e529996e9609292
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.