Float Studio
See the whole website. Change exactly what you mean, at your desk or in VR.
Inspiration
Vibe-coding tools are great at generating a page. But a website is many pages wired together, and an AI change requested in a chat window is hard to aim and hard to trust. We wanted a place where you can see every page and every link at once, point at the exact thing you want changed, and review the AI's edit before it touches your code. We also wanted that place to work in 3D, where a whole site can literally surround you.
What it does
Float Studio is a spatial workspace for building and editing websites with AI, on the desktop and in WebXR.
- Describe a site and watch it build. Describe the website you want. Meta Muse Spark plans the pages and the links between them, then builds them live on the canvas. One agent writes the shared stylesheet while three page agents write pages in parallel, and each page fills in as it streams.
- Or import your own codebase. Drop in a folder or a ZIP. HTML pages render as previews, and JSX/TSX pages get static previews. Links come from real
<a href>,<Link>and<form action>tags. Every element you see maps to an exact character range in its source file. - Every page, every link. All pages sit on one canvas. Each connecting line is labelled with the button that makes the jump, such as "See pricing" or "Sign up", so you can follow a visitor's path through the site.
- Click, describe, review, apply. Click any element and a small Edit with AI box opens beside it. Muse Spark rewrites only that element's source. You compare before and after, see the exact lines that change, then apply or discard. Undo is one click.
- Pictures with Muse Image. Ask for a photo or an illustration and Float suggests Muse Image. It creates the picture, saves it in the project and places it on the page as a proposal you review first.
- Every AI change is documented. Changes are recorded against their ticket with before and after screenshots, and you mark each requirement verified yourself. The export includes a change log.
- Edit in VR. Step into WebXR, on a headset or in the built-in emulator, and the site surrounds you. Make the pages bigger and look around, then pinch any element and type the change on a real or pinch keyboard. The AI box stays fixed at the bottom of your view. Check the change before and after and apply it, right where you stand.
- Export real code. Download the updated codebase as a ZIP. It re-imports with its tickets and layout.
How we built it
- Frontend: vanilla JavaScript with Vite. The canvas is drawn in 2D. Page previews are rendered with html2canvas from sandboxed iframes, with scripts stripped and a Content Security Policy applied.
- Source mapping: an offset-preserving HTML/JSX parser maps every selectable element to its source range, so an AI edit is a single, exact replacement.
- VR: Three.js and WebXR. IWER and its dev UI provide a built-in emulator for anyone without a headset, and the app also works with the Immersive Web Emulator extension. Hand rays and pinch drive selection, and in emulators the mouse acts as a pinch.
- AI: a small Node server keeps API keys out of the browser.
- Meta Muse Spark (
muse-spark-1.3) returns strict JSON Schema output for plans, stylesheets, pages and scoped edits. Pages stream as newline-delimited JSON while they are written. - Muse Image (
muse-image-1.0) makes the pictures. - Generated pages are sanitised: no scripts, no external URLs.
- Meta Muse Spark (
- Storage: projects persist in IndexedDB. ZIP import and export use fflate.
- Hosting: Vercel serves the app as static files and runs the AI endpoints as Vercel Functions. A cap limits what the server's key pays for, with shared counts in Upstash Redis.
- Demo video: a Playwright script drives the real app and films each scene with Chrome's tab capture. FFmpeg then speeds up only the waits for the AI, and the clips are ready to edit in Ava Studio.
- We built Float Studio with Claude as a pair programmer.
Challenges we ran into
- Readable pages in VR. Text that is crisp on a monitor turns to mush at arm's length. We made page size relative to a "Fit" view and added looking around for sizes past it. It took many iterations to place pages, links and the AI box so that nothing overlaps.
- Reaching the AI box with emulated hands. Emulated hands sit far out and low, so pinching a panel near your knees meant pointing almost straight down. In emulators the mouse now works as a pinch, and the box is fixed upright and close in your view.
- Typing in VR. Emulators use the keyboard to move the headset, so typing an instruction moved you instead. Keystrokes now go to the instruction while you type, and headsets get a pinch keyboard.
- Edits you can trust. Letting a model rewrite a whole file invites collateral damage. Scoping each edit to one exact source range, and always showing a diff before applying it, made AI changes predictable.
- Recording it all. Our first automated recording captured only part of the screen because of Windows display scaling. The recorder now runs full screen at a scale that fits.
- Caps on serverless. Each serverless instance has its own memory, so a usage cap needs a shared counter.
Accomplishments that we're proud of
- One flow, from a sentence to an exported codebase, that works the same on the desktop and in VR.
- Every AI change is scoped, reviewable, documented and undoable.
- Link lines that tell you which button goes where.
- A fully automated, repeatable demo recording.
- 28 automated source checks covering parsing, patching, export, the AI endpoints and the usage cap.
What we learned
- Spatial interfaces need budgets for text size and reach, not just layouts.
- Structured output (JSON Schema) turns a language model into a dependable building block.
- Small, reviewable AI edits earn more trust than big impressive ones.
- Emulators make WebXR development fast, but they bring their own quirks to design around.
What's next for Float Studio
- Testing and tuning on physical headsets such as Meta Quest.
- Edits that span several files and shared components.
- Voice instructions in VR.
- Shared sessions, so a team can review a site together in the same space.
- Running the project's own tests and committing to Git from the workspace.