The close look at an instant print, used by stations.InstantPrint (Look while holding one, and Look at photo on a pinned or lying print).
open(ids, start?, onClose?) brings ids[start] up to fill ~76% of the screen's height (kept inside a phone's width) over the dimmed, blurred room; close() lowers it; isOpen(), showing().
The print is re-drawn on its own: a copy of its frame, backing and its own film material (photo, instant-film look and development stage) stands on the photoview render layer at y = -320 with a soft key lamp and an even fill of its own, rendered by an isolated orthographic camera into a texture the size it is shown at (pixel ratio included, 256-1600 px tall). The texture is shown in a viewport widget with a drop shadow, so the photo reads the same in a lit or dark room and stays sharp (no depth of field).
Controls (stations.photoView input map, suppressing walking, looking, the held print's own map, the hangout keys and the app menu while up): tilt (mouse / right stick / drag) turns it a few degrees in the hand and, zoomed in, looks across it; zoom (wheel / RT-LT / pinch, up to 3.2x); Lower (R, Esc, Backspace, right mouse / B, Y / Back). stations.photoViewPage (when there is more than one photo): previous / next (A-D, arrows / d-pad, shoulders / ‹ ›).
Test hooks: state(), nudge(zoom?, lookX?, lookY?), page(d).
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2
strict
LightCamera
printOf(id: string) → any
arg
type
description
id
string
materialOf(id: string) → any
arg
type
description
id
string
boxSize() → void
the size the print is shown at: most of the screen's height, kept inside
its width on a tall phone
Bring a photo up close. `ids` are print entities (the first shown is
`ids[start]`); left / right pages through them. `onClose(id)` is called
once it is lowered, with the print shown last.
arg
type
description
ids
{ string }
start
number?
onClose
((string?
close() → void
Lower the photo.
isOpen() → boolean
showing() → string
The print shown now, or nil.
state() → any
Debug / test read: zoom, tilt and sizes of the open view.
# hui
The hangout's interface kit: one look for every screen, and the shared pieces each object draws through instead of
registering screens of its own.
- Look: warm frosted glass panels, cream ink, an amber accent for the hangout and a phosphor green for anything a
console shows. Headings in Bricolage Grotesque, text in Arimo, keys in JetBrains Mono on raised keycaps, small
retro kickers in Press Start 2P.
- `Hui.prompt(owner, key, verb, object?)` / `Hui.unprompt(owner)`: the one interaction prompt on screen. The most
recent offer wins; withdrawing it brings back the one under it, so prompts never stack or stick.
- `Hui.controls(owner, title, items)` / `Hui.uncontrols(owner)`: the controls bar for whatever the player is doing
(holding the Game Boy, a controller, seated). `items` = `{ { keys = { "Z" }, label = "A" }, ... }`.
- `Hui.toast(kicker, title, body?)`: a card that drops in at the top and leaves by itself.
- Building blocks for screens: `Hui.glass`, `Hui.text`, `Hui.keycap`, `Hui.keys`, `Hui.kicker`, `Hui.bar`,
`Hui.button`, `Hui.T` (tokens).
# instantCamModel
The instant camera (an unbranded 600-series style box camera, 118 x 107 x 148 mm) and its film print (88 x 107 mm) at true size, from the ZeroBlender models in `props/instantcam`.
```lua
local Cam = require("stations.instantCamModel")
local cam = Cam.InstantCamera("instant_camera", { synced = true }) -- root + `<name>_model` children
local photo = Cam.printVisual(printRoot, photoMaterial) -- frame, backing, photo surface
Cam.HALF, Cam.LENS, Cam.FLASH, Cam.SLOT, Cam.EYE, Cam.PRINT -- dimensions in the model's frame
```
Used by `stations.InstantCamera` and `stations.InstantPrint`.
# InstantPrint
One instant film print, on a runtime synced entity the instant camera spawns (with `Physics`, a thin `BoxCollider` and `Holdable`). It builds its own visual on every peer (`stations.instantCamModel.printVisual`) with its own `stations.instantPrint` film material, whose clock runs from the shot time so it develops identically everywhere, and asks the room for the photo (`stations.instantPhoto`) when this peer lacks it.
Fresh out of the camera it rides in the camera's film slot (`slotOf`, `ejectAt`) until someone takes it. Interact picks it up (or takes it down from a wall). Held: look closer, pin it where you aim (a wall, door or fridge: flush, with a slight tilt, kinematic), put it down flat on the table or floor in front, hand it over, throw it away. Pinned prints are remembered on the pinner's machine (`instantPhoto.keep`) and come back next session.
# instantPhoto
The instant camera's photographs, shared by `stations.InstantCamera` and `stations.InstantPrint`.
- `capture(pos, at, up?, fov?)` renders the scene once from a lens pose into a 320x320 target, reads it back and returns a JPEG (~15-25 KB). Yields.
- An image cache on every peer by id (`newId`, `put`, `has`, `bytes`, `texture`). `send(id)` carries an image to the other peers in base64 chunks on `icam.img`; `want(id)` asks the room on `icam.want` and whoever holds it answers, so a late joiner gets every print's image.
- `material(printId, imageId, seed, age)` makes the print's own `stations.instantPrint` material, its clock running from the print's age so it develops the same on every peer; the photo is bound when it arrives.
- `keep` / `forget` / `kept` remember the prints this player pinned (pose, image) in this world's runtime data on this machine, so their wall prints come back next session.
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.