wallrus
Agent-first Three.js live 3D wallpaper engine in Rust for Linux & macOS.
Zero-asset ES modules · 3D cursor depth parallax · Spotlight orbit & WASD camera · Built-in Agent Skills & MCP Server
Live Gallery (wallrus.pages.dev) ·
Installation ·
Agent Skills & MCP Pack ·
CLI Reference ·
Configuration & Ricing
---
Point any coding agent (**Claude Code, Codex, Antigravity, Cursor, OpenCode, Windsurf**) at this repository — or browse **[wallrus.pages.dev](https://wallrus.pages.dev)** — and ask:
> *"Build me an interactive 3D wallpaper and set it with wallrus."*
Your agent reads [`AGENTS.md`](./AGENTS.md) and the bundled [`skills/wallrus/`](./skills/wallrus/) pack, writes a single zero-asset Three.js `.js` module, validates it with `wallrus check` + `wallrus set`, visually inspects the rendered WebGL backbuffer via `wallrus screenshot` (without ever capturing your open windows), and hot-swaps it onto your Linux or macOS desktop in milliseconds.
---
## Features
- **Unified Native Linux & macOS Engine (Single Rust Binary)**:
- **macOS (Apple Silicon / Aqua)**: Renders via Metal-backed `WKWebView` at `kCGDesktopIconWindowLevel - 1` edge-to-edge behind the translucent Menu Bar & Camera Notch while keeping Desktop icons and Finder windows cleanly on top. Zero Dock icon clutter, zero TCC/Accessibility permission prompts (`CGEventGetLocation` 30Hz cursor tracking + Carbon `RegisterEventHotKey` `⌃⌥I`).
- **Linux (Wayland & X11)**: Native `zwlr_layer_shell_v1` (`gtk-layer-shell`) on **Hyprland, Sway, Niri, KDE Wayland, COSMIC**, automatic `_NET_WM_WINDOW_TYPE_DESKTOP` fallback on **GNOME / X11**, and zero-overhead Hyprland socket cursor tracking (`Ctrl+Alt+I` Interactive Mode).
- **True 3D Window-Pivot Cursor Parallax + Interactive Spotlight Mode**:
- Smooth 3D perspective depth parallax tracks your desktop cursor passively while you work.
- Press **`Ctrl + Alt + I`** (Linux) or **`⌃⌥I`** (`Ctrl + Option + I`, macOS) to elevate the wallpaper into Interactive Spotlight Mode: orbit/pan/zoom with your mouse, fly through the scene with **`WASD` + `Q`/`E` (+ `Shift`)**, toggle scene presets (`1`–`9`, `Space`), tune parallax depth live, and press **`Esc`** to pin your new camera angle permanently (seamlessly returning focus to your active window).
- **Zero `npm install` — Everything Pre-Bundled Offline**:
- Embeds Three.js `r170`, `OrbitControls`, `EffectComposer`, `UnrealBloomPass`, `Sky`, `Water`, `RoundedBoxGeometry`, `BufferGeometryUtils`, and seeded 2D/3D Simplex, FBM, and Ridged procedural noise directly inside the binary.
- Runs ergonomic `export function setup(ctx)` modules, vanilla Three.js `.js` scripts, standalone `.html` scenes, and direct `https://` URLs.
- **Canonical Scene Checker & Crash-Proof Hot-Swap**:
- Shared verification across `wallrus check`, `wallrus set`, and `wallrus.pages.dev` uploads blocks desktop-hijacking patterns (`PointerLockControls`, audio autoplay, gamepads, runaway draw-call/triangle budgets) and validates GLSL compilation before swapping — rolling back cleanly on error so your desktop never breaks.
- **Smart Battery & Fullscreen Power Policy**:
- Automatically drops to **0% GPU** when your display is asleep/locked or covered by a fullscreen game/video, and scales background FPS on battery power.
---
## Installation
### Option 1: Download Prebuilt Release (`macOS arm64` / `Linux x86_64`)
Download the archive for your platform from [**GitHub Releases**](https://github.com/joexk1/wallrus/releases/latest):
```bash
# macOS (Apple Silicon — M1 / M2 / M3 / M4)
curl -fsSL https://github.com/joexk1/wallrus/releases/latest/download/wallrus-v0.1.0-aarch64-apple-darwin.tar.gz | tar -xz
mkdir -p ~/.local/bin && mv wallrus ~/.local/bin/
export PATH="$HOME/.local/bin:$PATH"
wallrus install-skill && wallrus bind && wallrus enable
# Linux (x86_64 — Arch / Ubuntu / Fedora; requires webkit2gtk-4.1 & gtk-layer-shell)
curl -fsSL https://github.com/joexk1/wallrus/releases/latest/download/wallrus-v0.1.0-x86_64-unknown-linux-gnu.tar.gz | tar -xz
mkdir -p ~/.local/bin && mv wallrus ~/.local/bin/
wallrus install-skill && wallrus bind && wallrus enable
```
### Option 2: Build from Source
**Prerequisites:**
- **macOS**: Rust toolchain (`rustup`) + Xcode Command Line Tools (`xcode-select --install`). No Homebrew runtime libraries required.
- **Linux**: Rust toolchain (`rustup`), `gtk3`, `gtk-layer-shell`, and `webkit2gtk-4.1` (e.g., `sudo pacman -S webkit2gtk-4.1 gtk-layer-shell` on Arch, or `sudo apt install libwebkit2gtk-4.1-dev libgtk-layer-shell-dev` on Ubuntu/Debian).
```bash
git clone https://github.com/joexk1/wallrus.git
cd wallrus
./install.sh
```
`./install.sh` compiles the optimized release binary, links `~/.local/bin/wallrus`, installs the **Agent Skills & Tools Pack**, and runs `wallrus doctor`.
---
## Quick Start
```bash
# Launch a bundled procedural 3D wallpaper
wallrus set ./library/alpine_peaks.js
# Or stream directly from the online gallery
wallrus set https://wallrus.pages.dev/scenes/gargantua_black_hole.js
# Pick a random scene from ./library/ or the online catalog
wallrus random
wallrus random --online
# Bind Interactive Spotlight shortcut (Ctrl+Alt+I on Linux, ⌃⌥I on macOS) & login autostart
wallrus bind
wallrus enable
```
### Interactive Spotlight Controls (`Ctrl+Alt+I` on Linux · `⌃⌥I` on macOS)
| Input | Action |
|---|---|
| `Left Drag` / `Right Drag` | Smooth damped orbit / pan |
| `Scroll` | Dolly zoom (with automatic near/far frustum protection) |
| `W` `A` `S` `D` / `Q` `E` (`Shift`) | Fly camera through 3D space (Shift = 2.6x boost) |
| `1` – `9` / `Space` | Trigger scene lighting, weather, or shader presets |
| `P` / HUD Slider | Toggle 3D cursor parallax or adjust depth intensity (`0%`–`200%`) |
| `R` | Reset camera back to the scene's default composition |
| `Esc` | Pin current camera angle to desktop & return focus to your active app |
---
## Agent Skills & Tools Pack
`wallrus` ships with a complete, self-contained **Skills & Tools Pack** in [`skills/wallrus/`](./skills/wallrus/) (also embedded inside the `wallrus` binary and installed automatically via `wallrus install-skill` into `~/.agents/skills/wallrus/` and `~/.claude/skills/wallrus/`):
```
skills/wallrus/
├── SKILL.md # Closed-loop agent workflow, ES module contract & guardrails
├── templates/
│ └── starter_scene.js # Zero-asset Three.js starter scene (bloom, ridged noise, presets)
├── references/
│ └── scene-recipes.md # Procedural terrain, GLSL sky domes, 3-plane parallax & HUD ricing
├── scripts/
│ └── verify-scene.sh # One-command check -> set -> WebGL screenshot -> JSON status
└── tools/
└── mcp.json # Ready-to-use Model Context Protocol (MCP) server config
```
### Built-In MCP Server (`wallrus mcp`)
Add `wallrus` to Claude Code, Claude Desktop, Cursor, Antigravity, or Windsurf:
```json
{
"mcpServers": {
"wallrus": {
"command": "wallrus",
"args": ["mcp"]
}
}
}
```
Exposed MCP tools:
- `get_scene_contract` — Full Three.js ES module contract, pre-bundled imports, and noise API
- `check_scene` — Validates source size, module exports, and anti-game guardrails
- `set_wallpaper_scene` — Hot-swaps a wallpaper from `path` or inline `code` with GLSL error rollback
- `capture_scene_screenshot` — Privacy-safe PNG capture directly from the WebGL backbuffer
- `send_scene_event` — Live JSON event dispatch (`ctx.onEvent`) without reloading
- `toggle_interactive_mode` — Switches Spotlight Mode (`on` / `off` / `toggle`)
- `get_wallpaper_status` — Live FPS, GPU renderer, active scene, cursor, and error logs
---
## CLI Reference
```bash
wallrus set # Validate & hot-swap .js, .html, or https:// scene
wallrus check # Run canonical contract & anti-game guardrail check
wallrus list # List discovered local scenes
wallrus random [--online] # Load a random local or wallrus.pages.dev scene
wallrus interact [on|off|toggle] # Toggle Interactive Spotlight Mode
wallrus send '' # Push live JSON event into ctx.onEvent(...)
wallrus screenshot [out.png] # Capture pure WebGL backbuffer PNG (privacy-safe)
wallrus status [--json] # Inspect daemon FPS, layer, GPU, and system metrics
wallrus config --init|--show # Scaffold or inspect ~/.config/wallrus/config.toml
wallrus hud --position --theme
wallrus bind [--key ] # Bind global shortcut (Ctrl+Alt+I / ⌃⌥I)
wallrus enable / disable # Enable/disable login autostart (systemd / LaunchAgent)
wallrus install-skill # Install Agent Skills & Tools Pack to ~/.agents & ~/.claude
wallrus schema [--starter] # Print full scene contract or starter template to stdout
wallrus mcp # Start stdio JSON-RPC 2.0 MCP server
wallrus doctor [--json] # Run environment & compositor diagnostics
```
---
## Configuration & Ricing
Both `~/.config/wallrus/config.toml` and `~/.config/wallrus/hud.css` **hot-reload within 250ms** whenever saved:
```toml
# ~/.config/wallrus/config.toml
[general]
layer = "background"
fps_limit = 60
[power]
pause_when_fullscreen = true
pause_when_locked = true
[camera]
parallax = true
parallax_strength = 1.00
wasd_speed = 1.00
[hud]
position = "bottom" # bottom | top | bottom-left | bottom-right | top-left | top-right | bar | hidden
theme = "catppuccin" # default | catppuccin | tokyo-night | gruvbox | nord | rose-pine | kanagawa | transparent
shortcut = "ctrl+opt+i" # "CTRL ALT, I" on Hyprland/Linux · "ctrl+opt+i" (⌃⌥I) on macOS
```
---
## License
Released under the [MIT License](./LICENSE).
---
name: wallrus
description: Build, check, hot-swap, visually verify, and live-control interactive 3D Three.js desktop wallpapers on Linux (Wayland/X11) and macOS using the `wallrus` CLI or MCP server. Use whenever the user asks to create, edit, animate, debug, or interact with a 3D/shader/Three.js desktop wallpaper.
---
# Wallrus — Agent Skills & Tools Pack for 3D Live Wallpapers
`wallrus` is an agent-first Three.js wallpaper runtime written in Rust for **Linux** (`zwlr_layer_shell_v1` on Wayland, `_NET_WM_WINDOW_TYPE_DESKTOP` on X11) and **macOS** (native CoreGraphics desktop window + Metal `WKWebView`).
## Bundled Pack Contents
When installed via `wallrus install-skill` (or `./install.sh`), this pack provides:
- `SKILL.md` — Complete agent workflow, scene contract, and CLI/MCP reference
- `templates/starter_scene.js` — Ready-to-customize procedural Three.js starter wallpaper
- `references/scene-recipes.md` — Copy-pasteable recipes (procedural heightmaps, GLSL sky domes, multi-plane 3D parallax staging, system metrics, HUD ricing)
- `scripts/verify-scene.sh` — One-shot validator (`wallrus check` -> `wallrus set` -> `wallrus screenshot` -> `wallrus status --json`)
- `tools/mcp.json` — Stdio MCP server config (`wallrus mcp`) exposing `get_scene_contract`, `check_scene`, `set_wallpaper_scene`, `capture_scene_screenshot`, `send_scene_event`, `toggle_interactive_mode`, and `get_wallpaper_status`
---
> Converting an existing Three.js page/project/URL/shader into a wallpaper? Use the companion **`wallrusify`** skill (`~/.claude/skills/wallrusify/SKILL.md`, or `curl -fsSL https://wallrus.pages.dev/skills/wallrusify/SKILL.md`).
## The Autonomous Agent Loop (Always Follow This!)
1. **Check environment** (if first run):
```bash
wallrus doctor
```
2. **Write a self-contained ES module** (start from `templates/starter_scene.js` or `./library/*.js`, and save to `./scenes/.js` or `~/.local/share/wallrus/scenes/.js`).
3. **Validate & deploy live**:
```bash
wallrus check ./scenes/.js && wallrus set ./scenes/.js
```
- Exit code `0`: Scene passed contract/guardrails, compiled all GLSL shaders, and is live on the user's desktop.
- Exit code `1`: Exact JS/GLSL or guardrail error printed to `stderr` while keeping the user's previous wallpaper alive without a flicker. Fix all reported errors and re-run.
4. **Visually self-verify framing & lighting (Privacy-Safe!)**:
```bash
wallrus screenshot /tmp/wallrus-preview.png
```
- Reads directly from the Three.js WebGL backbuffer (**never** captures open desktop windows or icons).
- Inspect `/tmp/wallrus-preview.png` with your vision/file-reading tool to critique composition, contrast, bloom threshold, and depth separation. Edit the file in place — `wallrus` auto-hot-reloads changes within 250ms!
5. **Verify FPS & telemetry**:
```bash
wallrus status --json
```
---
## Standardized Scene Contract
Every scene is a zero-asset ES module. **No `npm install` or external CDN is needed** — Three.js `r170`, common addons, and seeded procedural noise are embedded inside the `wallrus` binary.
### Pre-Bundled Offline Imports
```js
import * as THREE from 'three';
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
import { UnrealBloomPass } from 'three/addons/postprocessing/UnrealBloomPass.js';
import { EffectComposer } from 'three/addons/postprocessing/EffectComposer.js';
import { Sky } from 'three/addons/objects/Sky.js';
import { Water } from 'three/addons/objects/Water.js';
import { RoundedBoxGeometry } from 'three/addons/geometries/RoundedBoxGeometry.js';
import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js';
```
### Engine-Managed 3D Parallax, Orbit & WASD Camera Rig
`wallrus` **automatically provides**:
- **Window-Pivot 3D Cursor Depth Parallax** while pinned on the desktop (tracked globally at 30Hz with zero permissions on both Hyprland/Wayland and macOS Quartz),
- **Interactive Spotlight Mode** (`Ctrl+Alt+I` on Linux, `⌃⌥I` / `Ctrl+Opt+I` on macOS, or `wallrus interact`) with damped mouse orbit/pan/zoom, **`WASD` + `Q`/`E` (+ `Shift`) 3D flight**, and live HUD parallax slider,
- **Persistent Camera Pinning (`Esc`) & Reset (`R`)**, plus automatic near/far frustum protection.
**Golden Rule:** Set `camera.position` and `controls.target` once in `setup(ctx)`, place foreground/midground/background depth layers around `controls.target`, and **do NOT overwrite `camera.position` inside `ctx.onTick`**. Use `ctx.pointer.smoothX` / `smoothY` for subtle world/shader reactions (wind, ripples, particles, lights).
```js
import * as THREE from 'three';
export const meta = {
title: 'Rainy Cyberpunk Skyline',
category: 'Cyber & Sci-Fi',
description: 'Neon-drenched rainy skyline with reflective wet streets and volumetric light.',
// Clickable HUD chips + keyboard shortcuts in Interactive Mode (avoid W/A/S/D/Q/E/R/P):
controls: [
{ key: '1', label: 'Neon Dusk' },
{ key: '2', label: 'Acid Rain' },
{ key: 'Space', label: 'Lightning' },
],
};
export function setup(ctx) {
const { scene, camera, renderer, controls, noise } = ctx;
camera.position.set(0, 8, 26);
controls.target.set(0, 4, 0);
controls.update();
const bloom = ctx.enableBloom({ strength: 0.45, radius: 0.5, threshold: 0.72 });
// Built-in seeded procedural noise:
// noise.noise2D(x, y) -> [-1, 1]
// noise.noise3D(x, y, z) -> [-1, 1]
// noise.fbm2D(x, y, octaves) -> [-1, 1]
// noise.ridged2D(x, y, octaves) -> [0, 1] sharp ridges/peaks
ctx.onClick(({ raycaster, ndc }) => {
// Raycast interactive clicks in Interactive Mode
});
ctx.onKey((key) => {
if (key === '1') ctx.toast('preset: neon dusk');
});
ctx.onEvent((name, payload) => {
// Live external control via `wallrus send ''`
});
ctx.onTick(({ dt, elapsed, pointer, system, interactive }) => {
// Animate meshes, shaders, and subtle pointer world effects (pointer.smoothX / smoothY).
});
}
```
---
## Config, Shortcuts & Desktop Ricing (`config.toml` + `hud.css`)
Both `~/.config/wallrus/config.toml` and `~/.config/wallrus/hud.css` **auto-hot-reload within 250ms** on save:
```bash
wallrus bind # Bind Ctrl+Alt+I (Linux) or ⌃⌥I (macOS)
wallrus enable # Autostart via systemd --user (Linux) or LaunchAgent (macOS)
wallrus config --show # Show config.toml & hud.css paths + active values
wallrus config --parallax true --parallax-strength 1.0 # Adjust 3D depth parallax (0.0..2.5)
wallrus config --wasd-speed 1.2 --fps 60 # Adjust WASD flight speed & background FPS cap
wallrus hud --position bottom --theme catppuccin # Themes: default, catppuccin, tokyo-night, gruvbox, nord, rose-pine, kanagawa, transparent
```
---
## Wallpaper Complexity & Anti-Game Guardrails
Identically enforced by `wallrus check`, `wallrus set`, and `https://wallrus.pages.dev` uploads:
1. **Lightweight Self-Contained Source**: `<= 1 MB` locally (`<= 512 KB` for community web uploads).
2. **No Desktop Hijacking**: `PointerLockControls`, fullscreen requests, popups, gamepads, `eval`, and audio autoplay are blocked/muted.
3. **60 FPS GPU Budget**: Keep scenes `< 3,500` draw calls and `< 10M` triangles per frame (prefer `THREE.InstancedMesh`, `THREE.Points`, and `THREE.ShaderMaterial`).
4. **Desktop Legibility**: Keep `toneMappingExposure` around `0.95–1.15` and bloom `threshold >= 0.65` so desktop icons and terminal windows stay crisp.
---
name: wallrusify
description: Turn any existing Three.js scene, HTML page, Vite/React-Three-Fiber project, CodePen, GLSL shader or URL into a working Wallrus live desktop wallpaper on Linux or macOS. Use whenever the user says "wallrus-ify", "make this my wallpaper", "turn this three.js thing into a wallpaper", or points at a scene/repo/link they want on their desktop.
---
# Wallrus-ify: any Three.js scene → live wallpaper
Goal: take something that already renders in a browser and make it a calm, legible, 60 FPS wallpaper with cursor depth parallax.
Work in a copy, never edit the user's original. Pair this with the `wallrus` skill (`wallrus schema` prints the native contract).
## 0. Preflight
```bash
which wallrus || curl -fsSL https://wallrus.pages.dev/install.sh | bash
wallrus doctor
mkdir -p ~/.local/share/wallrus/scenes/ && cd $_ # work dir; keep assets next to the scene file
```
## 1. Try it as-is first (it often just works)
`wallrus` takes `.js` ES modules, vanilla Three.js scripts, `.html` pages and `https://` URLs. For HTML it also:
- rewrites the `three` importmap to the bundled offline r170 build,
- hides overlays, GUIs and Stats while pinned, and shows them again in Interactive Mode,
- hooks `WebGLRenderer`/`WebGPURenderer` so the engine can add parallax, swaps First-Person/Fly controls for damped Orbit+WASD, and blocks pointer-lock, fullscreen and audio.
```bash
wallrus check ./scene.html && wallrus set ./scene.html
sleep 4; wallrus screenshot /tmp/wallrusify.png # LOOK at it
wallrus status --json | jq '{fps, recent_errors}'
wallrus logs
```
If it looks good, has FPS ≥ 30 and no errors, go to step 4. Otherwise pick the matching row in step 2.
## 2. Input → recipe
| Input | What to do |
|---|---|
| Single `.html` with importmap/CDN three | Download into the work dir and `wallrus set` it. CDN addons resolve to the bundle; other CDN imports load normally. |
| Vanilla `.js` that creates its own renderer and `requestAnimationFrame` loop | Usually works as-is. The host tracks its listeners, DOM nodes and rAF callbacks and cleans them up on hot-swap. |
| Vite / webpack / R3F / Svelte project | Build static output with **relative** paths (`vite build --base ./`), then `wallrus set dist/index.html`. Files beside the scene are served, so keep `dist/` intact. |
| Remote URL | `wallrus set https://…` works for quick tries. For anything you keep, mirror it locally (step 1) so it works offline and you can patch it. |
| Shadertoy / GLSL fragment / CodePen canvas | Rewrite as a native module: fullscreen `PlaneGeometry(2,2)` + `ShaderMaterial` with `iTime`/`iResolution` uniforms, updated in `ctx.onTick`. Start from `wallrus init ./scene.js`. |
| `.glb` / `.gltf` model only | Native module: `GLTFLoader` loads the file from beside the scene. Add lights and a sky, set `controls.target` to the model's bounding-box centre, and play `AnimationMixer` clips in `onTick`. |
The size limit is **1 MB per scene source file**. Assets (textures, glb, wasm, built JS chunks) are separate files and don't count.
## 3. Patch list (apply only what the screenshot shows you need)
Make every change with a small, re-runnable patch script (`prepare.py` that reads `upstream.html` and writes `scene.html`) so you can re-apply it after pulling upstream updates.
1. **Hide UI**: inject `` before ``. Match the real ids and classes from the DOM.
2. **Skip intros, click-to-start and loading gates**: auto-call the start function, or set the flag the button sets. Wallpapers never receive a first click.
3. **Freeze the "best moment"**: if the scene has a day cycle, cinematic camera path or tour, pin it to its most beautiful state (golden hour, a moonlit sky) or slow it to ≤ 0.1×. Wallpapers should breathe, not perform.
4. **Camera**: remove auto-orbit and scripted fly-throughs. Set one hero pose. Never overwrite `camera.position` every frame, because the engine owns the parallax rig.
5. **Scenes that drive their own camera from `pointermove`** (custom shader cameras, raymarchers): desktop cursor events don't reach the page, so feed them from the engine's messages instead:
```js
let k = 0.75; // parallax strength from wallrus config
addEventListener('message', ({ source, data }) => {
if (source !== parent || !data) return;
if (data.wallrus === 'parallax') k = data.on ? data.strength : 0;
if (data.wallrus === 'cursor') { pointer.x = data.x * k; pointer.y = data.y * k; } // x,y in [-1,1], +y = down
});
```
Keep yaw ≤ ~0.09 rad and pitch ≤ ~0.05 rad. Translating the eye a little sideways sells depth better than rotating.
6. **Performance**: clamp `renderer.setPixelRatio(Math.min(devicePixelRatio, 1.5))`, cut volumetric or raymarch steps by about 30%, and drop shadow-map size to 1024–2048. Target 60 FPS at native resolution.
7. **Legibility**: keep exposure around 0.95–1.15 and bloom threshold ≥ 0.65. Leave a calm area where terminal windows usually sit.
8. **Remove** audio, `alert`/`prompt`, pointer lock, `requestFullscreen`, analytics, and service workers.
9. **Credit**: keep the upstream licence as a comment at the top (``) and put the author in `meta.description` or ``. Don't redistribute anything that has no licence, and tell the user so.
## 4. Optional: port to the native contract (needed to share on wallrus.pages.dev)
Native modules are smaller, hot-reload faster, and get `ctx.noise`, HUD controls and `wallrus send` events. Mapping:
| Original | Native |
|---|---|
| `new WebGLRenderer()`, `new Scene()`, `new PerspectiveCamera()`, `OrbitControls` | Use `ctx.renderer`, `ctx.scene`, `ctx.camera`, `ctx.controls` (don't create your own) |
| `requestAnimationFrame(loop)` | `ctx.onTick(({ dt, elapsed, pointer }) => …)` |
| `window.onresize` | Delete it (the engine handles resizing) |
| `EffectComposer` + `UnrealBloomPass` | `ctx.enableBloom({ strength, radius, threshold })` |
| keyboard toggles | `meta.controls` + `ctx.onKey` (avoid W/A/S/D/Q/E/R/P) |
| GUI params | `ctx.onEvent(name, payload)` → `wallrus send name '{"k":1}'` |
Export `meta` and `setup(ctx)`. Run `wallrus check` until it exits 0. Community uploads are capped at 512 KB.
## 5. Verify (required before you say "done")
```bash
wallrus set && sleep 5
wallrus screenshot /tmp/wallrusify.png # view it: framing, contrast, nothing UI-ish left
wallrus status --json | jq '{scene_title, fps, recent_errors}'
wallrus interact # orbit/WASD should feel right; Esc pins the pose
```
Move the mouse across the screen while it's pinned: the foreground should shift against the background. If nothing moves, apply patch 5. Report the final path, FPS, licence/credit, and every patch you made.