Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 47b50fcd-5…

photoView

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).

by◐Deata·posted 2d ago
What it does

photoView

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

argtypedescription
idstring

materialOf(id: string) → any

argtypedescription
idstring

boxSize( ) → void

the size the print is shown at: most of the screen's height, kept inside its width on a tall phone

setLayer(e: any) → void

argtypedescription
eany

showPrint(st: State) → void

argtypedescription
stState

makeTarget(st: State) → void

argtypedescription
stState

buildStage(st: State) → void

argtypedescription
stState

render(st: State, roll: number, scale: number, force: boolean?) → void

argtypedescription
stState
rollnumber
scalenumber
forceboolean?

step(st: State, dt: number) → void

argtypedescription
stState
dtnumber

axis(v: any) → void

argtypedescription
vany

page(d: number) → void

argtypedescription
dnumber

controlsList(st: State) → void

argtypedescription
stState

open(ids: { string }, start: number?, onClose: ((string?) → void

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.

argtypedescription
ids{ string }
startnumber?
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.

nudge(zoom: number?, lookX: number?, lookY: number?) → void

Test hook: set the zoom / look as the controls would.

argtypedescription
zoomnumber?
lookXnumber?
lookYnumber?

Problems

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.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.