Prismbox: what's good about it
IDEA
- Visual editor for React Three Fiber that works on your real running page, not an isolated canvas. Dragging a mesh becomes a minimal text diff in your .tsx.
- MCP server lets Claude Code, Cursor, and Windsurf see your selection and the live canvas (without gizmos) and make validated edits.
ENGINEERING
- Zero lock-in: vite build emits 0 bytes of Prismbox code, enforced by a test (including from the packed tarball).
- Safe writes: magic-string edits keep formatting and comments. Writes are atomic and compare-and-set, and undo restores the exact original bytes.
- Careful security: loopback-only daemon with Host/Origin checks, disarmed by default, page edits treated as untrusted proposals and re-validated, writes confined to source files, Playground sandboxed with connect-src 'none'.
- Real testing: unit and integration tests per package, plus e2e with a real browser, daemon, and MCP client.
PRODUCT AND DESIGN
- Seven hero templates: plain .tsx, no Prismbox import, shader uniforms exposed as sliders via ordinary // @prism GLSL comments.
- Live Playground (no install) and a read-only remote MCP endpoint for browsing templates.
- Agent-friendly errors with stable codes, what happened, and the fix.
- Documented design system: tokens, single accent color, layout, full state matrix, plain-spoken copy.
HONESTY AND MAINTAINABILITY
- Candid about limits: early 0.1, Vite-only, literal props only, unimplemented features listed.
- Fair Triplex and Spline comparison, and the ~97% vs ~72% editable stat is labeled a regression signal, not a benchmark.
- Strong open-source hygiene: MIT license, SECURITY, CONTRIBUTING, CODE_OF_CONDUCT, CHANGELOG, architecture docs, CI, and open template slots (7 to 10) for contributors.
Hi PH, I'm Harsh, the maker of Prismbox.
Tuning a 3D hero in React Three Fiber usually means changing a number, saving, and refreshing, over and over. Prismbox lets you drag a gizmo or move a slider on your real page instead, and the change is written into your .tsx as a one-line diff you can read and undo exactly.
What's different:
- It edits your actual Vite page, not a copy
- Claude Code or Cursor can make the same edits over MCP, and you watch them land
- Your package.json and vite.config are never touched
Try it with no install: https://prismbox.prismbox.workers.dev
In your own project: npx prismbox
Source (MIT): https://github.com/Guten-Morgen1302/prismbox
Honest limits: Vite only for now (Next.js is planned), and it edits literal props only, not computed values.
Feedback I'd find most useful:
1. Does it work on your R3F project? If not, what broke?
2. Which edit would you want next: camera, adding or removing nodes?
3. Would you use the MCP side, and with which agent?
MCP setup: claude mcp add prismbox -- npx -y prismbox mcp --root <your project>
Live Demo: https://youtu.be/ROpocTQRzck