Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(scene-studio): paint the transform toolbar above the empty-state card
nirholasdb7442c6ffd2
diff --git a/data/changelog.json b/data/changelog.jsonindex 72395e686..843b70b22 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -27361,6 +27361,16 @@"improvement"],"link": "/play/economy"+ },+ {+ "date": "2026-09-09",+ "title": "Scene Studio fits a 320px phone screen, and its playback controls announce themselves",+ "summary": "A full audit of /scene, the in-browser 3D scene editor. On a narrow phone the panel that holds the outliner, transforms, geometry and materials sits along the bottom of the screen, but it carried a 335px minimum width from the editor it is built on. That is wider than a 320px screen, and because the page suppresses sideways scrolling the right 15px of it simply had nowhere to go: the object type labels and the right-hand stepper of every number field were off-screen and unreachable. The panel now shrinks to the screen. The first-run card that tells you how to start a scene was centred in a band that ran underneath the Import/Export/Share buttons, so on the same narrow screens the buttons sat on top of its heading; the card now starts below them and scrolls inside itself on a short screen instead of running over the panel below. The floating translate/rotate/scale toolbar was painted under that card too, and now sits above it. And the animation timeline's play, pause and stop buttons are drawn as bare icons with no text, so a screen reader announced three identical unnamed buttons; all three now carry names taken from the editor's own translated string table.",+ "tags": [+ "fix",+ "improvement"+ ],+ "link": "/scene"}]}diff --git a/docs/scene-studio.md b/docs/scene-studio.mdindex 39e2094b0..6bfa5e4af 100644--- a/docs/scene-studio.md+++ b/docs/scene-studio.md@@ -25,7 +25,7 @@ Four sibling modules sit on top of the vendored editor without touching `vendor/- **A quick-action bar** (top right, clear of the sidebar): **Import from Forge** takes a GLB URL from a [Forge](./forge.md) or Forge Max result and adds it through the same undo-able path as a drag-and-drop import; **Export** writes a Web GLB or an AR bundle (`.usdz` for iOS Quick Look) in one click; **Share** uploads the scene and opens the platform's "Embed this model" panel with an iframe, web-component, and `<agent-3d>` snippet.- **An empty state.** A brand-new scene holds nothing but the default camera, which renders as a bare grid. The overlay on that grid says what a starting point looks like (drag a `.glb` in, pick a primitive from **Add**, or import a model you already generated) and retires itself the moment the scene has content, including a scene restored from autosave.- **Designed failures.** A dead link, a private URL, a blocked cross-origin fetch, or a failed upload each surface in the platform's toast with the likely cause named and a fallback to try, rather than in a native `alert()` box.-- **Accessible transform buttons.** The vendored translate/rotate/scale controls are icon-only `<button>`s; the studio gives them names read from the editor's own string table and mirrors the active mode into `aria-pressed`, so the gizmo mode is both announced and reachable by keyboard.+- **Accessible icon-only controls.** The vendored translate/rotate/scale gizmo buttons and the animation timeline's play/pause/stop transport are icon-only `<button>`s with no accessible name. The studio gives all six names read from the editor's own string table, so they stay translated, and mirrors the active gizmo mode into `aria-pressed` so it is both announced and reachable by keyboard.### Handoff from Animation Studio@@ -57,7 +57,7 @@ A typical round trip from another studio:## States & limits- **Dark theme only.** The vendored editor chrome ships a single dark skin; the studio locks the page to dark so the panels render correctly, regardless of your site theme preference.-- **Desktop-class tool.** This is the full three.js editor with dense panels and gizmo interactions. It expects a pointer and a reasonably sized viewport; it is not tuned for small touch screens the way the other studios are. It does stay usable down to 320px: below 600px the sidebar docks along the bottom instead of the right, the menubar keeps its six items on one row, and the quick-action bar reclaims the right edge.+- **Desktop-class tool.** This is the full three.js editor with dense panels and gizmo interactions. It expects a pointer and a reasonably sized viewport; it is not tuned for small touch screens the way the other studios are. It does stay usable down to 320px: below 600px the sidebar docks along the bottom instead of the right (and drops the 335px floor the vendored panel carries, which used to push its right edge 15px off a 320px screen where the page's suppressed sideways scrolling made it unreachable), the menubar keeps its six items on one row, the quick-action bar reclaims the right edge, and the empty-state card starts below that bar and scrolls inside itself rather than being centred underneath it, with the floating translate/rotate/scale toolbar painted above the card instead of behind it.- **Scenes live in this browser.** Autosave writes to IndexedDB on the machine you are using, so a scene does not follow you to another device or another browser. **Share** (which uploads a GLB) and **Export** are how a scene leaves the machine.- **Vendored, MIT-licensed.** The editor is a vendored copy of three.js r184 under MIT. Attribution and the upstream license live in [src/scene-studio/vendor/](../src/scene-studio/vendor) (see the vendor `README`/`LICENSE`). Local changes are limited to the container mount, theme lock, and chrome overrides.- **Handoff is browser-local.** The Animation Studio handoff moves the GLB through IndexedDB in the same browser. Opening `/scene?handoff=1` directly, with nothing stashed, just gives you an empty editor.diff --git a/src/scene-studio/studio.css b/src/scene-studio/studio.cssindex 064308692..414e7e08b 100644--- a/src/scene-studio/studio.css+++ b/src/scene-studio/studio.css@@ -280,6 +280,16 @@ body.scene-studio {filter: invert(1);}+/* The vendored toolbar is positioned but leaves z-index at auto, so it painted+ * under the empty-state overlay (z-index: 5). On a phone-height viewport the+ * vendor parks it at `bottom: 330px`, which lands inside the band the overlay+ * covers, and the first-run card hid the translate/rotate/scale controls+ * outright. Lifting the live control above the hint keeps it clickable at every+ * height; the card is click-through everywhere except its own body. */+#studio-app #toolbar {+ z-index: 6;+}+/* --- Listbox / dialogs -------------------------------------------------------- */#studio-app .Listbox {