# Repository Briefing: Aaryan1524/Visualize
> Source: https://repoforai.com/repo/Aaryan1524/Visualize (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Aaryan1524/Visualize
- **Official Docs / Website**: https://github.com/Aaryan1524/Visualize/releases/latest
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (89/100 · Maintenance 35/35 · Adoption 14/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v3.1.0 (2026-11-25) — https://github.com/Aaryan1524/Visualize/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP, CLI
- **Momentum**: 217 ★ total (+14 24h / +105 7d) · 28 forks
- **Topics**: `3d`, `agent-skill`, `agent-skills`, `algorithms`, `animation`, `claude-code`, `claude-skills`, `codex`, `data-structures`, `education`, `explainer`, `explorable-explanations`
- **When to Use**: Best for: Educators and engineering teams creating reusable lessons on devices, algorithms, or systems where readers should change parameters, make predictions, and test their understanding offline. Skip if: You need an MCP endpoint, a mobile-first experience, a quick static illustration, or a validated engineering simulator rather than a teaching model.

## Overview
```text
### Architecture & Core Mechanics
Visualize is a TypeScript/ES module Agent Skill with a local build pipeline. `src/studio/router.mjs` chooses Engine A for physical systems or Engine C for abstract ones; `scripts/new-studio.mjs` scaffolds the project. Engine A uses Three.js orthographic rendering and procedural GLSL, while Engine C provides 2D primitives for queues, flows, and staged state changes. The package manifest lists `three` and `katex` as runtime dependencies.

`director.mjs` coordinates the storyboard, focus, callouts, telemetry, and challenges. A scene's pure `simModel()` supplies the state used by both the visuals and the challenge logic, and `studio-page.mjs` bundles the result as standalone HTML. The concrete integration surface is `SKILL.md` plus host-specific invocation and Node scripts; no MCP transport or server entrypoint is identified.

### Key Capabilities & Differentiators
A generated lesson can combine a 5–7-step walkthrough, interactive 3D orbit or 2D instrumentation, live telemetry, light and dark themes, What-If variants, Tune sliders, narration, and a Now You Try challenge. Physical scenes can reveal mechanical structure and visualize airflow with primitives such as `cutawayCylinder` and `airVolume`. Conceptual scenes use primitives such as `track` and `flowPipe` to make changes in ordering and flow visible. The director limits callouts to two per step.

`check-studio.mjs` gates uncaught browser errors, invalid targets or telemetry, and clipped or colliding callouts. The fresh-context review splits the evidence: the concept auditor sees the model and configuration, while the visual director sees four fresh PNGs without code. `studio-review.mjs` binds the reviews to the HTML and passing Chrome stamp with SHA-256. Those checks establish traceability and catch specific faults; they do not establish that the simulation is scientifically complete.

### Trade-offs & Limitations
Compared with static SVGs or slide decks, Visualize is a better fit when readers need to change a variable and see its effect on animation, telemetry, and the expected answer. The cost is a real production workflow: each lesson needs a model, a scene, a storyboard, browser QA, and review. Compared with hand-built Three.js, the reusable primitives and director reduce repeated UI work but impose a visual grammar; unusual geometry or interactions may not fit it cleanly.

The single-model design prevents the display and exercise from drifting apart in their arithmetic, but both can still agree on the wrong assumptions. Treat the browser gate and review seal as quality controls, not independent proof of scientific accuracy. The layout is tuned for desktop viewports around 1280×800 and up. Validate mobile controls and WebGL performance on the intended audience's devices before committing to broad distribution.

### Hardware & Deployment Guide
Install the repository in a supported host's skills directory and run `npm install` there. Node.js 24+ handles builds and checks, including native TypeScript type stripping. Chrome or Chromium is needed for visual and runtime QA; use `CHROME_PATH` to override detection. If the host sandbox blocks headless Chrome, plan to run the gate separately in an approved local environment rather than treating an HTML build as a verified release.

The build produces a standalone HTML file for offline use, with no application server needed to serve it. Narration generation needs an initial Kokoro download of about 90 MB and runs offline afterward; that does not imply the authoring agent itself runs offline. v1.1.0 introduced a unified drawing rig and mandatory fresh-context review, v1.2.0 emphasized real-object 3D scenes, and v3.1.0 organizes the workflow around two engines, a shared director, and separate concept and visual gates.
```

## Key Capabilities
```text
- Routing: `router.mjs` selects a scene engine, and `new-studio.mjs` scaffolds the project.
- Physical rendering: Engine A pairs orthographic Three.js cutaways with procedural GLSL airflow primitives such as `airVolume`.
- Conceptual rendering: Engine C uses `track`, `flowPipe`, and `arcLink` to show reordering and state transitions.
- State consistency: One `simModel()` feeds animation, telemetry, and the practice challenge.
- Verification: Headless Chrome checks runtime behavior and layout; SHA-256 seals tie the separate concept and visual reviews to the build and check stamp.
- Distribution: `studio-page.mjs` bundles standalone offline HTML; Kokoro narration runs locally after the initial download.
```

## Quick Start / Clone
```bash
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
```
