# Ironbark Pavilion A furnished timber garden pavilion with six reversible object interactions, built for the Spatial Web Evals rich environment prompt. ## Attribution - Author model: Claude Fable 5.2 - Provider: Anthropic - Model ID: `claude-fable-5-2` - Reasoning effort: medium The source is the kickoff prompt in `docs/plans/2026-11-11-fable-5-2-spatial-eval.md`: "Author model: Claude Fable 5.2, provider Anthropic, model ID claude-fable-5-2. Reasoning effort: medium." The user repeated it when starting the session on 2026-11-11: "mark this as Fable with Medium reasoning". The session's own metadata names Claude Fable 5.2. The session does not expose its effort setting to the model, so the level rests on the user's word and was not checked from inside. The prompt is `artifacts/gpt-6-astra/living-pavilion/eval-prompt.md`, used unchanged. This is an authoring run. Nobody has scored it. ## Blind run This run was meant to be independent of the two earlier entries. I did not open, list or search `artifacts/gpt-6-astra/living-pavilion/` (apart from `eval-prompt.md`), `artifacts/claude-opus-5-5/`, or their copies in `dist/`. Files I read before designing: - `AGENTS.md`, `CLAUDE.md` (root and `frontend/`), `frontend/docs/artifacts.md` - `frontend/artifacts/gpt-6-astra/living-pavilion/eval-prompt.md` - `frontend/resources/artifact.html`, `frontend/resources/rich-environment-eval.md` - `frontend/assets/model.js`, `immersive.js`, `tokens.css`, `appearance.js`, and the spatial and control rules in `base.css` and `evals.css` - `frontend/scripts/artifacts.mjs`, `frontend/scripts/create-spatial-cube.py` - `docs/plans/2026-11-11-fable-5-2-spatial-eval.md` What I learned about the other runs anyway: - The plan, `frontend/CLAUDE.md` and `rich-environment-eval.md` name the earlier artifacts (Living Pavilion, Stillwater Pavilion) and say they ship a GLB, a USDZ, renders, an inventory and a report. - After the scene and its interactions were finished, I read `frontend/tests/visual.spec.mjs` (lines 1 to 125 and 317 to 560) to write tests in its style. That showed me the other entries' test names, selectors and some button labels. Stillwater's actions are lanterns, journal, tea, basin, sculpture and blind. Mine were already fixed by then, and five of them follow the prompt's own examples. - One change came from that reading: the canvas sets `data-ready="true"` so the gallery screenshot helper can wait for it. Nothing else in the scene or page changed afterwards. ## The scene The deck is 9.2 m square and sits 0.3 m above the lawn. The origin is the viewer's feet at the centre. A slatted canopy covers a 1.9 m band on the back and both sides and leaves the centre open to the sky. The nearest object to the centre between floor and head height is 2.66 m away, so the clear centre is 5.3 m across (`clearCentreRadiusMetres` in `asset-report.json`). - Reading corner (back left): armchair with three cushions, footstool, bookshelf with three rows of books and three stacks, brass clock, vase, potted fern, round side table with a journal, pen and mug, reading lamp, striped rug. - Tea setting (back right): tatami mat, low table, tray, iron teapot, four celadon cups, sweets plate, tea caddy, bud vase, four floor cushions, kettle on a stone brazier, sliding paper screen. - Planted seating (front left): slatted bench with five cushions, trough of seven grasses, citrus and camellia planters, three terracotta pots, watering can, crate table with a succulent and trowel, hanging basket. - Water feature (front right): stone basin with water, three lily pads and a flower, bamboo spout, ladle, gravel bed with 26 pebbles and four river stones, stone lantern, stone stool, fern. - Sculpture display (back centre): plank backdrop, stone dais, three polished plinths with brass plaques, balanced stones, bronze rings, a brass frame holding a celadon sphere, a floor vase of blossom branches. - Structure and light: 12 posts on stone feet, perimeter and inner beams, 119 canopy slats, three batten walls, two railings, front steps, eight hanging lanterns, two floor lanterns. - Landscape: stepping stones through six lavender drifts to an arbor, ten clipped hedges, 12 trees (gums, cypresses, one red maple), 14 shrubs, seven boulders, eight grass tufts, a paddock fence and eight distant hills. Measured by the generator: 190 placed objects in 66 families, 1,466 mesh objects sharing 140 meshes and 57 materials, 39,238 triangles. `object-inventory.json` names every placed object with its area and position. Pebbles, leaves and book spines are parts of a placed object and are not counted on their own. ## Interactions Each one changes geometry, materials or lights in the rendered scene, has a button that works with Enter and Space, can be picked directly on its object, reports to a status line and reverses when chosen again. | Button | Change | | --- | --- | | Light the lanterns | Twelve paper shades glow: eight hanging lanterns, two floor lanterns, the reading lamp and the stone lantern. Four of them also cast light | | Open the journal | The cover swings 168° on its spine to show a ruled page and ribbon | | Pour the tea | Tea rises and widens in four cups | | Fill the basin | The water surface rises 0.18 m to the rim, and the lily pads rise with it | | Turn the bronze | The bronze rings turn a quarter turn on the plinth | | Slide the screen | One screen panel slides 1.3 m to open a view of the maple | "Reset the scene" restores every object and the starting view. Six view buttons give a whole-pavilion view and a close-up of each area. "Look left" and "Look right" turn the camera 15° at a time, and dragging on the canvas does the same. Changes take 320 ms, or happen at once under `prefers-reduced-motion`. Nothing plays on load, there is no sound, and the scene draws a frame only when something changes. The canvas counts its frames in `data-frames`, and a test checks the count holds still while idle. ## Files Sizes are from 2026-11-11. The directory is 4.7 MiB. | File | Bytes | Purpose | | --- | --- | --- | | `index.html`, `page.css` | 7,753 and 2,639 | Page and styles; colours come from the site tokens | | `scene.src.js` | 14,194 | Scene code | | `scene.bundle.js` | 638,620 | `scene.src.js` bundled with Three.js | | `scene-data.js` | 729,104 | The GLB as base64, the camera views and the sun direction | | `scene.glb` | 546,300 | Browser scene, Y up, metres, no textures | | `scene.usdz` | 967,576 | Native scene, same layout, starting state | | `preview.png` | 916,081 | Still shown under the canvas, 1280 × 800 | | `render-whole.jpg` | 230,143 | Whole scene, 1920 × 1200 | | `render-reading.jpg`, `render-tea.jpg`, `render-seating.jpg`, `render-water.jpg`, `render-sculpture.jpg` | 82,989 to 156,144 | Close-ups, 1280 × 800 | | `generate.py` | 59,507 | Blender generator, seed 5207 | | `bundle.mjs` | 1,352 | Rebuilds the bundle | | `object-inventory.json`, `asset-report.json` | 35,205 and 1,864 | Named objects; geometry counts, sizes and hashes | | `THREE-LICENSE.txt` | 1,081 | Three.js licence | All geometry is original and built from code. There are no stock models, textures, image generators or image files in the scene. The scene's colours live in `generate.py`; the sky, lamp and light colours live in `scene.src.js`. ## Dependencies | Tool | Version | Licence | Used for | | --- | --- | --- | --- | | Three.js | 0.187.0 | MIT (`THREE-LICENSE.txt`) | Bundled into `scene.bundle.js` | | esbuild | 0.28.2 | MIT | Build only, not shipped | | Blender | 5.1.2 | GPL | Build only | | `usdzip`, `usdcrush`, `usdchecker` | macOS 27.2 system tools | Apple | Build only | | Playwright | 1.63.0 | Apache-2.0 | Tests | The page loads nothing from the network beyond its own directory and the site's shared `assets/`. ## Reproduce From the repository root: ```sh /Applications/Blender.app/Contents/MacOS/Blender --background --python \ frontend/artifacts/claude-fable-5-2/ironbark-pavilion/generate.py node frontend/artifacts/claude-fable-5-2/ironbark-pavilion/bundle.mjs ``` The first command takes about 15 seconds and rewrites the GLB, `scene-data.js`, the USDZ, the renders, the inventory and the report. The second installs the pinned packages into a temporary directory, writes `scene.bundle.js` and copies the licence. I ran the generator twice in a row on 2026-11-11 and compared SHA-256 hashes. `object-inventory.json` matched byte for byte, and the geometry counts matched. `scene.glb`, `scene.usdz`, `scene-data.js` and the renders did not match. In the GLB the node, mesh and material lists were the same, but Blender's exporter shared index buffers between meshes differently on each run, so the buffer length changed (182,004 against 178,548 bytes). I did not track down the USDZ and render differences. The layout comes from the seed and is stable. The files are not bit-reproducible. ## Compatibility and scope - The interactions run in the browser's WebGL scene only. `scene.usdz` is static and shows the starting state: lanterns off, journal closed, cups empty, basin low, screen closed. There is no WebXR renderer. - The native section uses the site's `model.js` and `immersive.js`. "Enter environment" appears only when the browser reports `document.immersiveEnabled` and the model is ready, and immersion starts only on that button press. - The USDZ has no sky. Hills and trees are geometry, and what lies beyond them is up to the system. - Without WebGL, when the scene data fails to load, or after a lost graphics context, the still stays, every control is disabled and the status line says why. Without JavaScript the still, the descriptions and the links to the renders remain, and the controls stay hidden. - The GLB is inlined in a classic script, so the page works in the gallery's sandboxed iframe and from `file://` with no fetch. - The canvas sets `preserveDrawingBuffer` so tests can compare frames exactly. That costs a little performance. - The scene is tuned for software renderers. At load it merges every object that never moves and cannot be picked into one mesh per material, only four of the twelve lamps carry a point light, and the shadow map is redrawn only when an object moves. - Lantern light is modest in the daylight scene. It shows most on the paper shades and on the deck near the floor lanterns. - The browser scene and the Blender renders use different renderers, so their shading differs slightly. ## Verification Run on 2026-11-11, macOS 27.2, Playwright 1.63.0 with Chromium. - `usdchecker scene.usdz`: passes. - `npm run check`: passes with 54 unit tests and 295 Playwright tests, run with the default parallel workers. Two existing gallery tests counted one reasoning selector per model, so I raised their counts from 2 to 3 and added this artifact's card to the no-JavaScript check. - 17 tests cover this artifact in `tests/visual.spec.mjs`: gallery grouping and the `index.json` entry, mocked native entry with a decline, retry and system exit, six keyboard tests that compare drawn frames before, after and after reversing, direct picking of the basin, the bronze and a lantern, reset to a frame identical to the start, no idle frames, 390 px and 1280 px at 200% text with reduced motion, the gallery sandbox with no remote requests, no WebGL, failed scene data, and no JavaScript. - I looked at all seven Blender renders and at browser screenshots of the whole view, each close-up with its interaction on, and the 390 px page at 200% text. After the first render I removed two inner posts that blocked the reading and tea close-ups and lowered the whole-scene camera so it looks in under the canopy. - First CI run on PR 26: eight of these tests timed out. The runner draws WebGL in software on two cores, and one frame of the scene took seconds. I roughly halved the frame cost (210 ms to 120 ms per redraw under SwiftShader on the development Mac), gave the scene tests longer waits, and switched the keyboard and picking tests to reduced motion. The reset test still runs the timed transitions. - CI container check: `mcr.microsoft.com/playwright:v1.63.0-noble` with `CI=1`, two CPUs and DejaVu fonts passed all 17 Ironbark tests and the 32 other large-text and gallery tests it selected (49 of 49). The container ran on an arm64 Mac, so it is faster than the GitHub runner. - Not tested: a real lost graphics context (the handler exists, no test forces it) and touch input on a phone. ## Device checks None. No Apple Vision Pro, iPhone or iPad was used. Native USDZ loading, scale and origin, immersive entry and exit, and headset performance are unverified. The native tests above run against mocked APIs in Chromium and say nothing about spatial rendering.