An AI agent skill that turns any subject into a 3D film or app
Add dither + ASCII showcase look, input-sound rules and road, vehicle, rain and sound faults; release 0.4.2
Nguyen Xuan An87db3e2fca60
diff --git a/plugins/visualize-in-3d/.claude-plugin/plugin.json b/plugins/visualize-in-3d/.claude-plugin/plugin.jsonindex ec3cbef..cedbe0a 100644--- a/plugins/visualize-in-3d/.claude-plugin/plugin.json+++ b/plugins/visualize-in-3d/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "visualize-in-3d",- "version": "0.4.1",+ "version": "0.4.2","description": "Turn hard-to-picture places, systems, objects and events into a 3D world you can watch, learn from or click through: a live three.js app with a dashboard, a lesson app, a documentary film, or an illustrated cutaway book, built from real layouts and models made from real references.","author": {"name": "CodePawl",diff --git a/plugins/visualize-in-3d/skills/visualize-in-3d/references/film.md b/plugins/visualize-in-3d/skills/visualize-in-3d/references/film.mdindex 22dc996..3d57198 100644--- a/plugins/visualize-in-3d/skills/visualize-in-3d/references/film.md+++ b/plugins/visualize-in-3d/skills/visualize-in-3d/references/film.md@@ -64,6 +64,15 @@ leans on them most. Reading map: Pacing and text, Camera, Motion, Figures and plnever matches the feet on screen.- Score by section of the story (an opening, a turn, the main event, the aftermath, the end), crossfading over asecond or two at the section's first cut, instead of one loop under everything.+- Every mouse or keyboard input in a film gets its own small sound: a click, a wheel step, a key press, a drag. The+ recorder logs each input with its frame (`input_events.json`: frame, kind, target), and the sound script places+ one real recording per input and stops with an error on an input it has no sound for.+- Input sounds stay small and soft: a light click, a soft whoosh on a transition, a quiet tick. No hits, booms or loud+ UI blips. Showcase and app films carry a music bed under them, not effects alone.+- No repeated ticks: not one per drag step, not one per counter step. A run of ticks reads as tapping a bowl. A drag+ gets one soft whoosh for the whole gesture, and a counter runs silent under the music.+- An app film's music is upbeat and warm (major key, light groove, plucks or acoustic), even when the story has an+ outage in it. Slow whole-tone or minor drones read as horror.- Mix to about -19 LUFS (or -16 for a short social cut), true peak under -1 dBFS; sound effects stay audible underthe music.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.mdindex 266a04f..3a2f957 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 datamodel, 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, Illustrated cutaway plate, Lived-in isometric, Choosing.+Point-cloud survey, Photoreal terrain analysis, Dark documentary, Pixel diorama, Illustrated cutaway plate, Lived-in isometric, Dither + ASCII showcase, 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@@ -181,6 +181,28 @@ live or work and a crisis plays out inside them: a house in a storm, a flat in amurky brown flood water with floating debris that rises as a real plane through the rooms.- UI: small dark translucent panels in the lower corners (survival HUD), a right-click context menu on objects withthe real actions, a short task queue per person, and a clock with the hours to the event. House UI rules hold.+- Every panel in the app (KPIs, alerts, cards, layer and stage bars) takes the survival-HUD skin, not a generic+ dashboard skin.+- Bright by default: an overcast but light day the buildings read in. Night is a choice in an environment picker+ (time of day, weather), never the only state. A film opens in daylight and turns the picker to night on camera, so+ lamps and windows switch on and a fault shows as buildings that stay dark.+- A network overlay follows the real route and height: an overhead line glows along its wires at wire height with its+ poles highlighted; an underground cable or main shows below the ground (a cut or see-through ground band with the+ conduit or pipe at its depth), never one flat line at ground level for both.++## Dither + ASCII showcase++Required for every film that shows off assets, models, a tool or a product in 3D.++- The model is always a clean lit PBR render, never put through ASCII or dither, so people see the real model.+- Dither and ASCII belong to everything around the model: the backdrop, the floor, transitions between assets, the UI+ and the stat readouts. Dither is 1-bit ordered Bayer with 2-3 px cells at 1080p. Mask the model out of both passes.+- Both stay near-monochrome and faint: grey dots with at most a whisper (about 15%) of a palette tint, so they read as+ texture and never compete with the numbers or the models. Colour belongs to brand logos and status marks.+- Show what the work changed, not just the asset. For an optimization: before and after side by side at the same+ camera, with measured numbers per stage (file size, triangles, draw calls, texture size, load time), and a close-up+ proving the look held.+- Type: one monospace face, white or ink on the dark ground. Credits for sourced assets sit on the end card.## Choosing@@ -189,6 +211,6 @@ it is asked for. Otherwise pick the look the place itself suggests: built placesisometric; land and water seen from above go point-cloud; an event spreading across real land over time goesphotoreal terrain; a case or a piece of history told in order goes dark documentary; a small floating world withmany 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; an ordinary building with a crisis playing out inside it goes lived-in isometric. A look the user shows from a reference video is+rooms full of people goes illustrated cutaway plate; an ordinary building with a crisis playing out inside it goes lived-in isometric; a film that shows off assets or a product goes dither + ASCII showcase with the model rendered clean. A look the user shows from a reference video isstudied frame by frame (`scripts/contact-sheet.sh`) and written up as a new section here. Write the look's name inthe topic file. Add a new look only after saving its reference and writing a section here.diff --git a/plugins/visualize-in-3d/skills/visualize-in-3d/references/self-review.md b/plugins/visualize-in-3d/skills/visualize-in-3d/references/self-review.mdindex 852c218..34517a6 100644--- a/plugins/visualize-in-3d/skills/visualize-in-3d/references/self-review.md+++ b/plugins/visualize-in-3d/skills/visualize-in-3d/references/self-review.md@@ -73,6 +73,40 @@ measurement or a look at the frames could have found.more than one line of text sits on an opaque surface.- A cut-away neighbour faded with a coarse dither reads as a ghost polka-dot block. Fade it to a clean low alpha orcut it to stub height like the main building.+- A town or site with no streets: houses and cars standing on grass because the layout had lots but no road graph.+ Every built place gets its circulation first (roads with curbs, sidewalks and lane paint, driveways, yard paths),+ and every vehicle drives on it.+- A map layer toggle that draws nothing readable: thin world-width lines vanish at overview zoom. Shoot each layer at+ overview and close, and draw network overlays with screen-space width lines and moving particles.+- Dark puddle ellipses scattered on grass read as holes, and street-lamp light pools drawn as huge orange discs.+ Puddles only on paving, few and sky-reflective; a lamp pool about the lamp's height in radius.+- Vehicles that ignore the ground and the road: a car keeps its flat height and yaw on a hill, so it sinks into the+ slope going up and floats going down, or points off the lane. Sample the ground under the front and rear axles every+ frame, set height and pitch from them (and roll from both sides), yaw from the lane tangent, wheels spinning with+ distance; check the gap at each wheel on the steepest road (under 5 cm). A site also needs believable traffic+ density for its size, not a handful of cars.+- Bare ground in the frame: neighbours cut low so the subject stays visible leave a flat empty field behind them.+ Put a next row of full-height buildings behind the subject (behind it as seen from the camera, so it hides+ nothing) with facades turned toward the camera, never plain rear walls, then low plots out to the distance fade.+- A transition clip played on loop: a "sit" clip that is really the sit-down motion stands people up and sits them+ down every cycle. Check each clip's first and last root pose; a clip that ends in a different pose plays once and+ holds its last frame, or the model gets a separate held pose.+- A result card or toasts over the last beat of a film that should end on the world itself. End on the simulation+ unless the plan asks for a card.+- A silent input: a click, wheel step, key press or drag in an app film with no sound on its frame. Check the+ recorder's input log against the cue list.+- A flashlight beam drawn as a straight translucent cone: hard edges, even brightness, frozen in the hand. Draw it+ from the lens, fade it along its length and toward its edge, add faint haze noise and motes, and let the hand drift+ a little. Guard the shader against NaN (pow of a negative, normalize of zero): one NaN pixel through bloom turns the+ whole frame black.+- Rain that falls as one uniform slant: every streak tilted by the same wind vector, same length and brightness. Keep+ rain near vertical, give each drop its own lean, speed, length and brightness, and let gusts move across the scene.+- A rain bed that hisses, sounds dull or rings. A distant rain wash is a band of hiss, low-passing it sounds cheap,+ and offset copies of a mono bed comb-filter into a ringing room. Pick a close recording whose energy sits mostly+ at 250 Hz to 4 kHz at a steady level, measure its band shares before mixing, and keep it quiet under the cues.+- Sound tails that read as reverb in fast stretches (a howling wind bed, a clank left ringing, a thunder with a long+ fade) and a low tone under the whole film (a bed whose loudest band sits at 80-250 Hz). Keep wind thin, cut one-shots+ to their dry attack, drop ambience with no picture event, high-pass rain near 500 Hz and water near 150 Hz.## Growing the lists