Skip to content

armgit / viz3d

Public Imported from GitHub
0

An AI agent skill that turns any subject into a 3D film or app

Add the book mode and the illustrated cutaway plate look

Nguyen Xuan An7095e9652671
diff --git a/harness/gemini/viz3d.toml b/harness/gemini/viz3d.toml
index 623d97a..98fb931 100644
--- a/harness/gemini/viz3d.toml
+++ b/harness/gemini/viz3d.toml
@@ -4,5 +4,5 @@ Activate the visualize-in-3d skill and follow it from the start for this request
{{args}}
-If the first word is a mode, use that shape and drop the word from the subject. The modes are app (live app with a dashboard and a short film), lesson (lesson app), prototype (quick prototype from primitives), embed (live embed on real data), film or doc (documentary film), action (action short). Otherwise pick the shape from the subject with the skill's table. If the request is empty, ask what the user wants people to see.
+If the first word is a mode, use that shape and drop the word from the subject. The modes are app (live app with a dashboard and a short film), lesson (lesson app), prototype (quick prototype from primitives), embed (live embed on real data), film or doc (documentary film), action (action short), book (illustrated cutaway plate, or a book of several with quizzes). Otherwise pick the shape from the subject with the skill's table. If the request is empty, ask what the user wants people to see.
"""
diff --git a/harness/opencode/viz3d.md b/harness/opencode/viz3d.md
index 1d3f76f..feb190a 100644
--- a/harness/opencode/viz3d.md
+++ b/harness/opencode/viz3d.md
@@ -6,4 +6,4 @@ Load the visualize-in-3d skill and follow it from the start for this request:
$ARGUMENTS
-If the first word is a mode, use that shape and drop the word from the subject. The modes are app (live app with a dashboard and a short film), lesson (lesson app), prototype (quick prototype from primitives), embed (live embed on real data), film or doc (documentary film), action (action short). Otherwise pick the shape from the subject with the skill's table. If the request is empty, ask what the user wants people to see.
+If the first word is a mode, use that shape and drop the word from the subject. The modes are app (live app with a dashboard and a short film), lesson (lesson app), prototype (quick prototype from primitives), embed (live embed on real data), film or doc (documentary film), action (action short), book (illustrated cutaway plate, or a book of several with quizzes). Otherwise pick the shape from the subject with the skill's table. If the request is empty, ask what the user wants people to see.
diff --git a/plugins/visualize-in-3d/skills/visualize-in-3d/SKILL.md b/plugins/visualize-in-3d/skills/visualize-in-3d/SKILL.md
index a96013a..93447c5 100644
--- a/plugins/visualize-in-3d/skills/visualize-in-3d/SKILL.md
+++ b/plugins/visualize-in-3d/skills/visualize-in-3d/SKILL.md
@@ -1,71 +1,91 @@
---
name: visualize-in-3d
-description: Make things that are hard to picture visible as a 3D world people can watch or play with - an operation (airport, data center, port, factory, hospital), a system, an event spreading over real land (wildfire, flood), or a story in time (a historical event, a case). Builds a live three.js app with a dashboard and a 30 s film, or a shot-by-shot documentary film, with models made in Blender from real references (or in three.js when Blender is missing), a quick no-Blender prototype for a leadership demo, or a component that embeds in an existing dashboard or product and runs on live company data. Use for "visualize how X works", "show this event on a 3D map", "a live 3D dashboard of how X runs", "a documentary-style 3D explainer", "a quick 3D prototype to show leadership", "put a live 3D view of our operation in our dashboard".
+description: Turn anything hard to picture into a 3D world people can watch or play with - an operation or system (airport, data center, port, factory, hospital), an event spreading over real land (wildfire, flood), a story in time (a historical event, a case), characters or machines in action (a fight, a chase, a launch), or how a thing works. Builds a live three.js app with a dashboard and a 30 s film, a lesson app, a quick no-Blender prototype, a live embed that runs on real data inside an existing dashboard, a documentary film, an action short, or an interactive cutaway plate or book. Looks include toy isometric, point cloud, photoreal terrain, dark documentary, pixel diorama and illustrated cutaway plate. Models come from ready sources or Blender builds made from real references, and the skill checks its own frames before showing anyone. Use for "visualize how X works", "show this event on a 3D map", "a live 3D dashboard of X", "a 3D lesson on how X works", "a documentary-style 3D explainer", "a quick 3D prototype", "two creatures fight in 3D".
license: MIT
---
# Visualize in 3D
-Some things are hard to understand from text, tables or a long video: how an airport turns a plane around in 45
-minutes, what an ER does with ten arrivals at once, where a data center's power goes, how a warehouse ships an order,
-how a case unfolded across a county, why a reactor exploded at 01:23. This skill turns them into a 3D world you can
-watch or click through, so the parts, the order and the cause can be seen at a glance. Five modes share one toolkit (models from real references, a
-deterministic virtual clock, contact-sheet checks):
-
-- **Live app**: a system or an operation. A real dashboard around a 3D world, a seeded simulation moving units and
- numbers, and a 30 s film recorded by driving the app with real clicks. Steps below; briefs in `references/brief.md`.
-- **Documentary film**: an event, a case or a piece of history told in order. A fact file, a map, block-built scenes
- with flat glowing figures, captions timed for reading, sound and a score by section. See
- `references/documentary.md`.
-- **Quick prototype**: a one-pass live app built from three.js primitives, with no Blender, for a demo to leaders
- after about an hour of agent time. See `references/live-embed.md`.
-- **Live embed**: the live app as a web component or an iframe page inside an existing dashboard or product. It runs
- on the company's real data through an adapter (REST, SSE, WebSocket or CSV) and a field mapping. See
- `references/live-embed.md`.
-- **Lesson app** (a live app for learning how a thing works: an aircraft, a circuit board, an engine): lessons of
- 3 to 5 steps, one control each, the 3D built up part by part, and a "Build your own" sandbox. Use the live app
- steps; the brief's paragraph on parts, flow overlays and sandboxes applies.
-
-Pick the look in `references/looks.md` (toy isometric, point-cloud survey, photoreal terrain, dark documentary).
+Take any subject and make it visible in 3D: models from real references, a seeded simulation or a scripted timeline
+driving them, a look chosen for the subject, and a film checked frame by frame. The user can also start it with
+`/viz3d <mode> <subject>` (modes: app, lesson, prototype, embed, film, action, book).
Paths use `{{WORK_DIR}}` for the folder where projects live (the current directory unless the user names one) and
`{{SKILL_DIR}}` for this skill's folder. Write paths with forward slashes on every platform.
## Before you start
-1. **Blender** (skip this for a quick prototype or an embed, which use primitives unless the user asks for Blender): run `blender --version` (or look for it in the usual install folder). If it is missing, tell the user
- it gives much better models and is a free download from blender.org, and ask whether to wait for the install or
- go on without it. Without Blender, build the models in three.js as `references/no-blender.md` describes and say
- in the report that model quality is lower.
-2. **Node and a browser for recording:** Node 20+ and Playwright with Chromium. ffmpeg for encoding and checks.
-3. **Subagents:** where the harness has them, hand each pass to a fresh subagent with its brief (each pass stays
- inside a sane budget). Where it does not, run the passes one after another in this session, finishing and
- checking one before starting the next, and re-read the topic file at the start of each.
-4. **Downloads** (elevation, map data, reference images, recorded sounds): name the source, count and rough size and
- get the user's OK first.
-
-## Live app steps
-
-1. **Write the topic file** `{{WORK_DIR}}/TOPIC-<slug>.md` in the shape of the files in `examples/` (airport ramp,
- AI data center, agent office, wildfire valley): folder and port, sites, the world (real parts of the place and what
- moves), data (units, tasks, fields), four KPIs, the key stages of the process in order (each with where it happens
- and the event that marks it), what the bottom timeline follows, made-up names, and the look (toy isometric when the user names none).
- Research the real operation first and list the real object types the main assets stand for, and every activity
- that happens there: each one must move in the world. For a real named place, follow "A real place" in
- `references/real-objects.md` (open map data for the layout, exterior references for every landmark).
-2. **Pass 1, assets** with the Pass 1 brief (`references/brief.md`), or `references/no-blender.md` without Blender.
-3. **Pass 2, app and film** with the Pass 2 brief, once pass 1 is checked.
-4. **Check before showing anyone:** contact sheets of the film (`scripts/contact-sheet.sh`, sheets newer than the
- video) and the screenshots, against the faults in `references/film.md` and the brief's checks.
-5. **Final polish:** what you or the user find goes into one more pass with "everything else is approved, change
- nothing else", then re-record the film.
+1. **Blender** (not needed for a quick prototype, an embed, or the pixel look): run `blender --version` or look in
+ the usual install folder. If it is missing, say it gives much better models, is free at blender.org, and ask
+ whether to wait or go on without it. Without it, follow `references/no-blender.md` and say in the report that
+ model quality is lower.
+2. **Node 20+ and Playwright with Chromium** for recording; **ffmpeg** for encoding and checks.
+3. **Subagents:** where the harness has them, give each pass to a fresh subagent with its brief and keep it inside
+ about 80 tool calls. Where it does not, run the passes one after another in this session, finish and check one
+ before starting the next, and re-read the plan file at the start of each.
+4. **Downloads** (elevation, map data, models, reference images, sounds): name the source, count and rough size,
+ and get the user's OK first.
+
+## 1. Pick the shape
+
+Read what the user wants people to see, then pick one shape (or combine two) and read its reference:
+
+| The subject is | Shape | Read |
+|---|---|---|
+| A place or system that runs (units, tasks, flows) | Live app with dashboard and a 30 s film | `references/brief.md`, `examples/` |
+| How a thing works (aircraft, circuit board, engine) | Lesson app: 3 to 5 lessons, one control each, a "Build your own" sandbox | `references/brief.md` (parts, flow overlays, sandboxes) |
+| Something spreading over real land | Terrain app with a time scrubber | `references/looks.md` (photoreal terrain), `examples/wildfire-valley.md` |
+| A story, case or piece of history | Documentary film | `references/documentary.md`, `references/film.md` |
+| Characters, creatures or machines doing something | Action short | `references/action.md` |
+| One object cut open or exploded | Cutaway film, or an app with a section view | `references/film.md`, `references/looks.md` |
+| One big object or building with many rooms, as a page or a book | Book: interactive illustrated cutaway plate, with quizzes | `references/book.md`, `references/looks.md` |
+| A demo for leaders in about an hour | Quick prototype from three.js primitives | `references/live-embed.md` |
+| A live view inside an existing dashboard or product | Embed (web component or iframe) on real data | `references/live-embed.md`, `scripts/mock-feed.mjs` |
+
+Pick the look in `references/looks.md` (Choosing): toy isometric, point cloud, photoreal terrain, dark documentary
+pixel diorama or illustrated cutaway plate. Study a look the user shows from a reference video with timestamped frame sheets
+(`scripts/contact-sheet.sh <video> <folder> <fps>`), then write it up as a new section in `looks.md`.
+
+## 2. Write the plan file
+
+Write one file in `{{WORK_DIR}}` before anything is built: the topic file for an app (the `examples/` shape), the
+fact file for a documentary, the action sheet for an action short. It names the real parts of the subject, what
+moves or changes, the beats or features to show, the look, and the camera view that shows the subject best (a
+cutaway for depth, top-down for flows, low side for arrivals).
+
+Research the real subject first: real dimensions, steps, rules and moves. Use made-up names for companies and
+people unless the user asks for real ones. For a real named place, follow "A real place" in
+`references/real-objects.md`.
+
+## 3. Pass 1: assets and stage
+
+Models follow `references/asset-sources.md`: ready models first, then scans, packs, AI-generated models, and
+Blender builds from a reference sheet (`references/real-objects.md`). The pass reports stills at film scale.
+
+## 4. Pass 2: build and film, with the self-review loop
+
+Build the app or the film from the plan file with the brief in `references/brief.md`. Before reporting, run
+`references/self-review.md` for up to three rounds: `scripts/frame-guard.js` measurements, frame sheets and the
+mode's fault list. Run the two passes separately; one pass doing both runs too long.
+
+## 5. Check, then show
+
+Open the final sheets and peak stills yourself (`scripts/contact-sheet.sh`, sheets newer than the video). Look for
+what the loop can miss: a subject wrong for the real thing, a dull beat, broken UI rules, toys or programmer art.
+Every fault the user or you find that the loop missed goes into the fault lists the same turn
+(`self-review.md`, Growing the lists).
+
+## 6. Polish
+
+Give fixes to one more pass with "everything else is approved, change nothing else", then re-record. Publish only
+on the user's word.
## Rules
-- No real brands, logos, liveries or characters. A real place the user names is built as it is (its layout and
- buildings), still without operator logos or liveries.
-- Every main asset is modelled from a reference sheet of the real thing (`references/real-objects.md`); models from
- memory read as toys. This holds without Blender too.
-- A live app's film is driven by real input on a virtual clock; a documentary film is scripted shot by shot. Both
- follow `references/film.md`.
+- Original names and designs by default. Real brands, liveries and known characters only when the user asks, with
+ licensed models and a credit line.
+- Every main asset matches a reference of the real thing. Models from memory read as toys.
+- Every frame is a function of time (a virtual clock, clips set from it), so any frame renders the same in any
+ order. Real clicks on that clock drive an app's film, not a camera moved in code.
+- Render and encode at low priority, one heavy job at a time, and stop every server you start.
- Real people and real harm: facts from sources, victims named with respect, no gore (`references/documentary.md`).
- Reference images and videos are for study only: never ship them in the app or the film.
diff --git a/plugins/visualize-in-3d/skills/visualize-in-3d/references/book.md b/plugins/visualize-in-3d/skills/visualize-in-3d/references/book.md
new file mode 100644
index 0000000..30f78db
--- /dev/null
+++ b/plugins/visualize-in-3d/skills/visualize-in-3d/references/book.md
@@ -0,0 +1,127 @@
+# Book mode: illustrated cutaway plates
+
+One page per subject: a big object or building cut open like an encyclopedia plate, in 3D. The viewer orbits it, reads
+labels in the margins and flies to a room. Several subjects make a page-turning book with a short quiz on each
+page. It uses the "Illustrated cutaway plate" look from `looks.md`. The rules below came from a real build of a
+liner (a lofted hull, ten decks, about 2,000 people). They hold for any subject with many rooms.
+
+Reading map: Plan file, Build, Post pass, Labels, Page and book, Reel, Faults seen, Checks.
+
+## Plan file
+
+Write one file before building. It holds:
+
+- The view: the camera side, the home view (a high three-quarter view of the whole object) and the close-up views
+ (one per hero room).
+- The real numbers with a mark of "measured" or "inferred": length, width, height, decks or floors, counts of people,
+ boilers, bells, whatever the subject has. Check each against a source.
+- A room list in real place order, with the floor each room sits on and the jobs done in it. Name the contrast the page
+ should show (luxury above, toil below, or the shrine above and the crypt below).
+- 10 to 14 callouts (heading, 2 to 4 lines, the room it points to) and 6 to 8 named people for the bottom row.
+- For a book: the subject order, one line on how pages connect, and 3 quiz questions for each page, with answers
+ that the callouts already state.
+
+## Build
+
+Use three.js with no Blender. A lofted shell, boxes and a few extrusions read well under a watercolour pass.
+
+- **Shell.** Build the outer form from cross-sections along its length (a hull, a nave, a tower), so the plan, the
+ keel or roof line and the cut all come from the same numbers. Use real dimensions and keep the aspect ratio. Never
+ stretch the model vertically to fit more rooms. Make the decks taller in the plan if rooms feel cramped.
+- **Cut.** Remove the camera-side wall in strips of different heights, so the broken edge shows the wall thickness.
+ Keep both ends of the object whole. The section plane leans back as it rises (a slope of about 0.1 to 0.15), so the
+ ceiling edge of each level sits behind its floor edge. A vertical plane makes every slab edge hide the room below.
+- **Rooms.** Each room is a floor slab (warm top, dark brown edge), a back wall, a ceiling edge and its furniture. Give
+ it a lamp colour and its own wash. Build the hero rooms in detail and let the others share parts.
+- **Figures.** Use one part list for both the instanced crowds and the large portraits. A figure is about 1.8 m
+ before scale, with a pose and a job. Every room gets 10 to 40 figures doing that room's work. Rooms the story
+ names get a few extras with a clear action, such as a cook, a pianist, or a stoker with a shovel.
+- **Settle every figure.** A room asks for a height, not a surface. Before the crowd is built, drop each figure onto the
+ highest surface under its feet: a deck, a stair, a table top, a bench. Keep the requested height too. Then check:
+ `floatingFigures()` walks every standing figure, takes the height of the support under each foot, and returns the
+ count, the worst offset and the worst offenders. It must report 0 above a 2 cm tolerance, and no sunken figure
+ either. Run it on the raw requested heights as well, to see how many rooms relied on the drop.
+
+## Post pass
+
+A full-screen pass turns the render into a plate.
+
+- Paper: cream base with low-frequency blotches, so no area is flat. Grain at the end, multiplied over everything.
+- Washes: band the lit colour to 3 or 4 tones per material. Darken the colour along band edges, where pigment pools.
+- Ink: outlines from depth and normal edges in dark brown, about 24, 15 and 9 percent red, green and blue
+ (`#3d2615`). Black outlines read as a vector cartoon. Vary the width a little with noise.
+- Hatching: two sets of short diagonal lines, only in the darkest tones.
+- Scale ink and grain with the render height, so a 4K still and a phone screenshot look alike. A still export takes an
+ explicit scale.
+- Keep the pass cheap enough for a phone. Check frame time on a mid-range GPU before adding passes.
+
+## Labels
+
+- Labels are HTML over the canvas, in two columns in the paper margins. Each has a bold serif heading, 2 to 4 lines of
+ body and a thin dark leader to a 3D anchor inside its room. Anchors are projected every frame.
+- Slots are the order of labels in a column. Sort them by the anchor's screen height, then swap any two slots whose
+ leaders would cross. For a recording, freeze the slot order. Pick the order with the fewest crossings, and among
+ equals the shortest leaders, over the whole planned orbit: sample the anchors at several azimuths and try each order.
+ Text stays in its slot. Only the leader ends follow the camera. A label that changes slot mid-shot reads as
+ jumping.
+- Expose `labelCrossings()` and call it on every recorded frame. It must be 0 while labels are visible.
+- Labels never overprint the object, the title block or each other. Check at the page's smallest supported width.
+ On a phone, labels collapse into numbered pins pushed apart so none overlap, each tied to its anchor by a short
+ line, and a tapped pin opens one card.
+- Labels hide during a fly-in to a room, and the opened room's own labels (people, objects) show instead.
+
+## Page and book
+
+- A page is the plate plus its furniture: the title in small caps, an intro of two or three sentences, an inset of the
+ whole exterior, the margin labels and a "People in the ..." row at the bottom.
+- Controls: orbit within limits (the cut side keeps facing the viewer), zoom, tap a label to fly to its room, and a
+ way back to the home view. One dock at the bottom, one menu open at a time.
+- A book holds several pages, each its own plate, in a fixed order. Turn pages with the arrow keys and a swipe, and
+ show the page number. Load one plate at a time and free the previous one's geometry and textures.
+- A quiz is 3 questions per page on a card that opens from the dock, never over the object. Questions have 3 to 4
+ choices. Wrong answers say why in one line, and the right answer flies to the room that explains it. Keep a score for
+ the whole book and show it on the last page.
+- Optional: an "Ask Claude" box per page, when the host provides one. Give it the page's plan file as context, so
+ its answers stay on the subject and use the page's numbers.
+
+## Reel
+
+For a short film of the page, record it frame by frame from the live page.
+
+- Use Playwright with its fake clock, so each captured frame advances exactly 1/30 s and animation depends only on
+ time. Install the clock before the page loads and keep it moving while fonts and shaders load.
+- Pre-roll before the first frame. Park the camera at a mid-orbit view, let labels settle, lock the slot order for the
+ whole orbit (see Labels), then move to the first view. Without it, frame 0 shows labels overprinted at their starting
+ slots.
+- Camera keys are a list of seconds and views. Ease between keys with a smoothstep, and hold when two keys are equal.
+ A typical reel: wide with a slow orbit, one close-up per hero room, wide again. End on the start view, so the film
+ loops.
+- Labels fade out over the first 0.6 s of a fly-in and come back once the camera is home again.
+- Turn off CSS transitions with a style tag, so the clock alone drives the page.
+- Write the frames as JPEGs, count leader crossings on every visible frame and log the worst. Encode with ffmpeg.
+
+## Faults seen
+
+- Floating figures: feet above a deck or a table, or sunk below it. Cause: a figure placed at a fixed height. Fix: settle
+ every figure onto the highest surface under it and run `floatingFigures()`.
+- Empty rooms: a cut room with furniture and no people. Every room needs its crowd and its job.
+- One amber wash: every room lit the same, so the plate reads as flat orange. Give each room its own wash and keep amber
+ for lamps and fires.
+- Black ink instead of brown: outlines turn the plate into a vector cartoon. Use dark brown.
+- Labels jumping or overprinting: slots re-sorted every frame, or two labels at the same height. Freeze the order in
+ recordings and keep a minimum gap.
+- Leaders crossing: check `labelCrossings()` at the home view and along the whole orbit, not just at one view.
+- Frame 0 overprint: the first frame of a reel shows labels before they settle. Pre-roll first.
+- Stretched proportions: a model scaled vertically to fit more rooms. Keep real proportions.
+- Hidden deep rooms: a vertical section plane lets slab edges cover the rooms below. Tilt the plane back as it rises.
+- A clean cut: a straight sliced wall looks like a CAD section. Break the edge in steps.
+- Leaders into nothing: an anchor placed outside its room, or behind a wall edge. Put anchors on the room's floor.
+- A ground box or sky behind the object: the plate floats on paper.
+
+## Checks
+
+- Run `scripts/frame-guard.js` and `self-review.md` on any recorded reel.
+- Run `floatingFigures()` and `labelCrossings()` before reporting. Both must be 0.
+- Screenshot the home view and each close-up at 1920x1080 and at 390x844. Look at the title block, the labels and the
+ bottom row for overlap.
+- Compare one rendered still with the reference plate for paper, ink colour and wash count.
diff --git a/plugins/visualize-in-3d/skills/visualize-in-3d/references/looks.md b/plugins/visualize-in-3d/skills/visualize-in-3d/references/looks.md
index 82267bd..19f7990 100644
--- a/plugins/visualize-in-3d/skills/visualize-in-3d/references/looks.md
+++ b/plugins/visualize-in-3d/skills/visualize-in-3d/references/looks.md
@@ -2,7 +2,7 @@
Each topic file names one look. The look sets the world's rendering, the UI skin and what the film shows; the data
model, the dashboard parts and the film's click-driven shape stay the same. Reading map: Toy isometric (default),
-Point-cloud survey, Photoreal terrain analysis, Dark documentary, Pixel diorama, Choosing.
+Point-cloud survey, Photoreal terrain analysis, Dark documentary, Pixel diorama, Illustrated cutaway plate, Choosing.
Reference stills or clips for a look are optional. If you have some, save them under `{{WORK_DIR}}/references/<slug>/`
and point the briefs at them; they are for study only and never ship in the app or the film. Without them, the
@@ -131,12 +131,45 @@ extrusions and a few icospheres read well at this resolution.
- Film: real clicks on a virtual clock (`film.md`, Live app films): overview, close-up, click a unit (card and
follow), cutaway, top-down, low view, overview. Check frames at the real size; pixels must be square and crisp.
+## Illustrated cutaway plate
+
+Reference: an encyclopedia plate of a medieval castle in the style of the DK and Stephen Biesty cross-section books.
+It shows one big building cut open, with a room on every level full of small people at work, and labels in the margins.
+Fits one big object or building with many rooms full of people: ships, castles, cathedrals, stations, factories. The
+`book` mode (`book.md`) builds it. Keep a copy of the reference under `{{WORK_DIR}}/references/<slug>/` for study.
+
+- Page: warm cream paper (about `#f3ead6`) with fine grain. The object floats on the paper, with no ground box or sky.
+ Its base dissolves into the paper in loose washes (rocks, water, sea).
+- Rendering, read off the plate: watercolour washes in 3 or 4 soft tones per material, warm overall. Thin dark brown
+ ink outlines from depth and normal edges, slightly uneven. Short ink hatching in the shadow tones only. Pigment
+ pools darker along wash edges. Paper grain multiplied over everything. The ink is brown (about `#3d2615`), never
+ black.
+- Light tells the story: the exterior is pale stone or paint in daylight, and the cut interiors glow amber (lamps,
+ fires), so the eye goes straight into the rooms. Give each room its own wash (cool for a bridge, green for a
+ garden, red for a boiler). One amber wash over everything reads flat. Accents are few and saturated.
+- The cut: the camera-side wall is removed in a stepped, broken edge (masonry or hull plates show their thickness),
+ never a clean plane. Tilt the section plane back as it rises, so each level's ceiling edge sits behind its floor
+ edge and slab edges do not hide the rooms below. Every exposed room is a stacked stage seen from a high
+ three-quarter view, packed with small figures each doing the room's job (eating, cooking, praying, stoking).
+ Empty rooms kill the look.
+- Labels: no boxes. A bold serif heading and 2 to 4 lines of serif body sit in the empty paper beside the object, in
+ columns at the left and right edges, each with a thin dark leader line to its part. They are HTML over the canvas,
+ re-projected every frame, and their slots are chosen so leaders never cross (`book.md`, Labels).
+- Page furniture: a big small-caps serif title at the top left with a short intro paragraph, a small inset of the
+ whole exterior, and a "People in the ..." row along the bottom with full-figure characters, a bold name and a
+ two-line role each. House UI rules hold: no boxed frame or rule lines, so group by spacing alone.
+- Fonts: an engraved serif with real small caps for the title (Cormorant SC or IM Fell English SC, OFL), and a book
+ serif for labels (EB Garamond or Crimson Pro).
+- Proportions are real. Never stretch the model vertically to show more rooms. Make the decks taller in the plan
+ instead.
+
## Choosing
Toy isometric is the default for every topic. The point-cloud look can read as dull on a busy site, so use it when
it is asked for. Otherwise pick the look the place itself suggests: built places full of moving vehicles go toy
isometric; land and water seen from above go point-cloud; an event spreading across real land over time goes
photoreal terrain; a case or a piece of history told in order goes dark documentary; a small floating world with
-many tiny units, or a battle between creatures, goes pixel diorama. A look the user shows from a reference video is
+many tiny units, or a battle between creatures, goes pixel diorama; one big object or building with many
+rooms full of people goes illustrated cutaway plate. A look the user shows from a reference video is
studied frame by frame (`scripts/contact-sheet.sh`) and written up as a new section here. Write the look's name in
the topic file. Add a new look only after saving its reference and writing a section here.
diff --git a/plugins/visualize-in-3d/skills/viz3d/SKILL.md b/plugins/visualize-in-3d/skills/viz3d/SKILL.md
index ee748d9..6d4a748 100644
--- a/plugins/visualize-in-3d/skills/viz3d/SKILL.md
+++ b/plugins/visualize-in-3d/skills/viz3d/SKILL.md
@@ -1,7 +1,7 @@
---
name: viz3d
-description: Start the visualize-in-3d skill from a command, with an optional mode first (app, lesson, prototype, embed, film, action) and then the subject, for example "/viz3d film the 1906 San Francisco earthquake".
-argument-hint: "[app|lesson|prototype|embed|film|action] <subject>"
+description: Start the visualize-in-3d skill from a command, with an optional mode first (app, lesson, prototype, embed, film, action, book) and then the subject, for example "/viz3d film the 1906 San Francisco earthquake".
+argument-hint: "[app|lesson|prototype|embed|film|action|book] <subject>"
disable-model-invocation: true
---
@@ -25,7 +25,8 @@ In tools that do not fill in the line above, the request is the rest of the user
| `embed` | Live embed for an existing dashboard, on real data |
| `film` or `doc` | Documentary film |
| `action` | Action short |
+ | `book` | Illustrated cutaway plate of one subject, or a book of several with quizzes |
Otherwise pick the shape from the subject with the skill's table.
-3. If the request names a look (toy, point cloud, terrain, documentary, pixel), use it. Otherwise the skill picks one.
+3. If the request names a look (toy, point cloud, terrain, documentary, pixel, plate), use it. Otherwise the skill picks one.
4. If the request is empty, ask one question: what do you want people to see?