Turn a one-line prompt into an interactive, voice-guided 3D cutaway or tactile explainer you can actually trust.
Volumetric WebGL 3D CAD for physical machines & devices · Braun/Rams tactile instruments for algorithms & systems.
Driven by a tested simulation model, verified in headless Chrome, and signed off by two independent fresh-context reviewers.
Quick start · Showcase · Architecture · Verification · Install · Prompts · Requirements
High-Bypass Turbofan Jet Engine — Complete End-to-End 7-Step Demo — built from /visualize explain how a jet engine works.
Orthographic matte-clay 3D CAD, procedural GLSL volumetric airflow & jet exhaust, Dim & Illuminate camera tour, Airliner (8:1) ↔ Fighter (1:1) morph, and Light/Dark modes.
▶ Watch the complete end-to-end HD demo (MP4, 1280×800) · ▶ Narrated voice tour (MP4, with sound)
Every animation and screenshot below is captured directly from a standalone, offline HTML page built with Visualize Studio v3.1.
Works out of the box in Claude Code, Codex, and Antigravity (and any Agent Skills-compatible agent).
1. Clone into your agent's skills folder & install once:
# Claude Code
git clone https://github.com/Aaryan1524/Visualize.git ~/.claude/skills/visualize && cd ~/.claude/skills/visualize && npm install
# Codex
git clone https://github.com/Aaryan1524/Visualize.git ~/.agents/skills/visualize && cd ~/.agents/skills/visualize && npm install
# Antigravity (CLI)
git clone https://github.com/Aaryan1524/Visualize.git ~/.gemini/config/skills/visualize && cd ~/.gemini/config/skills/visualize && npm install2. Open a new session and ask for any machine, phenomenon, algorithm, or system:
/visualize explain how a V6 engine works
(In Codex, type $visualize ....)
You get one standalone offline HTML file — interactive 3D orbit or tactile 2D instrument, light & dark themes, live monospace telemetry, offline Kokoro voiceover, What-If variants, Tune sliders, and a model-verified Now You Try challenge.
Visualize routes every prompt automatically (src/studio/router.mjs) to one of two deterministic, color-locked rendering engines wrapped in a single Unified Frameless Director Shell (src/studio/director.mjs):
| Engine | Visual Idiom | Used For | Key Primitives |
|---|---|---|---|
Engine A — 3D Physical CAD Studio (src/studio/engine-a.ts) |
Three.js Orthographic Matte-Clay + EdgesGeometry + RoomEnvironment + procedural GLSL volumetric shaders + damped OrbitControls |
Every physical object, machine, fluid/thermal/optical device, hardware, or organ | cutawayCylinder, bladeRing, combustorRing, shaft, pipe, spring, gear, glassVessel, liquidVolume, gasVolume, pistonPlunger, mistCone, airVolume, jetPlume, flowRibbon, boxPlate, baseMount |
Engine C — 2D Tactile Conceptual Studio (src/studio/engine-c.ts) |
Braun/Rams tactile instruments on warm drafting paper (#f6f5f0) / obsidian dark (#111317) |
Algorithms, data structures, protocols, distributed systems, ML/transformers, math, finance, circuits | strip (switchboard stages/keys), track (milled rail with lift-arc spring reorder & eviction), flowPipe (packet lanes), arcLink (single-active-thread Bézier), stageNode |
- Color Lock: Structural hardware uses strictly 4 monochrome tokens (
clayLight,clayMid,clayDark,graphite). Saturated accents (orange,cobalt,ember,teal,gold) are reserved for activefocus[]highlights and invisible forces (airflow, flames, pressure, liquids, active packets). - Volumetric WebGL Over Rigid Tubes: Invisible physical forces use real procedural GLSL shaders (
airVolumefBM mist,jetPlumeMach-diamond exhaust, volumetriccombustorRingflames) with automatic Light/DarkuDarkModeadaptation. - Single Source of Truth (
simModel): One pure function drives 3D/2D animation, quiet top-right telemetry, and liveNow You Trychallenge verification — zero arithmetic drift. - Cinema-Minimal Chrome: ≥85% unobstructed canvas, Dim & Illuminate, Progressive Reveal, hard callout budget (≤2 per step, collision-resolved), floating subtitle bar, and compact bottom pill dock.
Visualize runs a strict 6-step studio pipeline across Claude Code, Codex, and Antigravity:
Prompt ──▶ 1. ROUTE & SCAFFOLD Auto-select Engine A (3D CAD) or Engine C (2D Tactile) via `new-studio.mjs`
──▶ 2. BUILD & TEST Write tested `simModel()`, 60–140 line `scene.mjs`, and 5–7 step `build.mjs`
──▶ 3. CHROME GATE `check-studio.mjs` verifies zero errors, valid telemetry, callouts, variants & themes
──▶ 4. DUAL VERIFIERS 2 parallel read-only fresh-context reviewers (Concept Auditor + Visual Director)
──▶ 5. REVIEW SEAL `studio-review.mjs verify` enforces SHA-256 locks + passing Chrome stamp
──▶ 6. VOICE & SHIP Offline Kokoro TTS narration (`studio-voice.mjs`) + final standalone HTML build
- Zero self-grading:
studio-review.mjsgenerates two disjoint fresh-context verifier briefs (one auditsmodel.mjs+ config without screenshots; one audits only the 4 fresh PNGs without code) and seals them with SHA-256 hashes bound to the HTML and Chrome check stamp. - Zero swallowed runtime errors:
check-studio.mjsfails immediately on uncaught errors, unknown focus/camera targets,NaNor?telemetry, or colliding/clipped callouts.
Visualize follows the open Agent Skills standard — this repository is the skill folder.
| Agent | Install command | Invoke with |
|---|---|---|
| Claude Code | git clone https://github.com/Aaryan1524/Visualize.git ~/.claude/skills/visualize |
/visualize … |
| Codex | git clone https://github.com/Aaryan1524/Visualize.git ~/.agents/skills/visualize |
$visualize … |
| Antigravity (CLI) | git clone https://github.com/Aaryan1524/Visualize.git ~/.gemini/config/skills/visualize |
/visualize … |
| Antigravity (App) | git clone https://github.com/Aaryan1524/Visualize.git ~/.gemini/antigravity/skills/visualize |
/visualize … |
| Single project | Clone into .claude/skills/visualize or .agents/skills/visualize inside your repo |
as above |
Install dependencies once inside the cloned folder:
cd <your-visualize-folder> && npm installStart a new agent session and you're ready. Update anytime with git pull.
Troubleshooting: Codex sandbox & Antigravity headless permissions
- Codex: Headless Chrome checks (
check-studio.mjs) may be blocked by Codex's sandbox — the HTML still builds cleanly. Approve runningcheck-studio.mjsoutside the sandbox when prompted, or runnode ~/.agents/skills/visualize/scripts/check-studio.mjs dist/<slug>.html --shots <dir>in your terminal. - Antigravity (
agy -p): Add allow rules for~/.gemini/config/skills/visualizeandnode ~/.gemini/config/skills/visualize/scripts/underpermissions.allowinsettings.jsonto run unattended without prompts.
# Engine A — 3D Physical CAD & Volumetric WebGL
/visualize explain how a jet engine works
/visualize explain how a V6 internal combustion engine works
/visualize explain how a perfume atomizer sprays mist
/visualize explain how a lithium-ion battery charges and discharges
/visualize explain how a mechanical watch escapement keeps time
# Engine C — 2D Tactile Conceptual Instruments
/visualize explain how multi-agent orchestration works
/visualize explain how an LRU cache achieves O(1) lookup and eviction
/visualize explain how a TCP 3-way handshake and fast retransmit work
/visualize explain how transformer self-attention routes context across tokens
Project structure & developer commands
visualize/
├── SKILL.md Studio v3.1 pipeline, 2-Engine split & guardrails
├── src/studio/
│ ├── engine-a.ts Engine A: Three.js Orthographic Matte-Clay 3D CAD + Volumetric WebGL shaders
│ ├── engine-c.ts Engine C: 2D Tactile Conceptual Studio (strip, track, flowPipe, arcLink, stageNode)
│ ├── director.mjs Unified Frameless Director Shell (telemetry, focus/reveal, callouts, challenges)
│ ├── studio-page.mjs Standalone offline HTML bundler
│ └── router.mjs Deterministic 2-Engine topic router
├── scripts/
│ ├── new-studio.mjs Route & scaffold a new Engine A or Engine C studio project
│ ├── check-studio.mjs Headless Chrome runtime, telemetry, callout & visual screenshot gate
│ ├── studio-review.mjs Dual fresh-context verifier brief generator & SHA-256 verification gate
│ └── studio-voice.mjs Offline Kokoro TTS narration with technical-token normalization
├── references/
│ ├── studio-engines.md Type-exact Engine A (17 primitives) & Engine C (5 primitives) cheat-sheets
│ ├── studio-director.md Storyboard schema, simModel contract, challenges & diagnostics
│ └── studio-qa.md QA pipeline, verifier schema & recovery triage
└── examples/
├── turbofan-studio/ Flagship Engine A: High-bypass turbofan with airVolume + jetPlume
├── venturi-atomizer/ Flagship Engine A: Cutaway glass Bernoulli atomizer with mistCone
└── lru-studio/ Flagship Engine C: Tactile O(1) LRU cache with lift-arc spring rail
npm test # Full unit & integration test suite (690+ tests)
npm run typecheck # Strict TypeScript check
node examples/turbofan-studio/build.mjs # Build dist/turbofan-studio.html
node scripts/check-studio.mjs dist/turbofan-studio.html --shots /tmp/shots --fast| Requirement | Needed for | Notes |
|---|---|---|
| Claude Code, Codex, or Antigravity | Running the skill | Follows the open Agent Skills format; tested across all three. |
| Node.js 24+ | Builds & checks | Runs TypeScript directly via native type stripping. |
| Chrome or Chromium | Visual & runtime QA | Auto-detected on macOS, Linux, and Windows (CHROME_PATH override supported). |
| ~90 MB (once) | Offline voiceover | Kokoro TTS downloads once on first narration run, then runs 100% offline. |
- Desktop first. Standalone pages open on mobile, though the interactive 3D orbit + dock layout is tuned primarily for desktop viewports (
1280×800+). - Thorough by design. Building a verified simulation model, 3D CAD or tactile 2D scene, headless Chrome QA, dual fresh-context reviews, and offline voiceover takes a real multi-step run — not an instant one-shot SVG dump.
Contributions are welcome! Check the open issues for roadmap items (Engine A reciprocating primitives, Engine C lifelines/brackets, narration-vs-model numeric audit), or see CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md.
MIT © 2026 Aaryan





