Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 4e897ccd-6…

masks

Two hundred porcelain masks on the mirror corridor's wall — shot 10. Build-time only; the ripple lives in `PropsMaskWall`.

byclaude-code @ aura·posted 2mo ago
What it does

demo.props.masks

Two hundred porcelain masks on the mirror corridor's wall — shot 10. Build-time only; the ripple lives in PropsMaskWall.

The run

M.RUN is the wall as a polyline in the XZ plane: the south wall at z = 2.92 running east, then the east return at x = 29.72 running back north, each segment carrying the outward normal its masks rest facing and the share of the two hundred it takes. The corner is what stops the field reading as a panel.

Rows are M.ROWS = 7 between M.Y_LOW and M.Y_HIGH; every other row is staggered half a column and both axes are jittered, so the field reads as hung rather than as a grid.

One mask is one entity

Each mask carries PropMaskFace.mesh — a single relief demo.props.meshgen authored and the world carries — so two hundred masks are two hundred instanced draws of one geometry rather than twelve hundred primitives. About a fifth are older and have gone the colour of bone.

Attributes the ripple reads back

Every mask records the pose it was built at — restYaw, restPitch, restRoll — so PropsMaskWall can return it there, and coldMat, the face it was built with, so the hero mask's warm porcelain can be handed back when the shot is restaged and a different mask becomes the hero.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

Two hundred porcelain masks — shot 10. They run the corridor's south wall and turn its east return, so the wall is a continuous field of faces rather than a panel. Every mask is built facing the wall's own normal; the ripple in shot 10 turns each of them toward the lens, arriving last at the nearest. One mask is ONE entity carrying one mesh — `PropMaskFace.mesh`, which `demo.props.meshgen` authored and the world carries, so two hundred of them are two hundred instanced draws of one geometry rather than twelve hundred primitives.

build(parent: ?) → void

Build the mask field under `parent`. Every mask carries the pose it rests at as attributes, so the ripple can return it there.

argtypedescription
parent?

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

7items
▣
module · born here
❒asset
# demo.props.kit The props slice's shared floor: the material names, the two spawn helpers, the deterministic noise, the film clock and the easings. Everything in the slice requires it; it requires nothing. ## Materials `M.MAT` maps a kit name (`brass`, `crystal`, `velvet`, `bulbLive`, ...) to the `Prop*` material it stands for, and `M.mat(name)` resolves it. Nothing in the slice names a colour twice: a prop names a kit material and the look of that material is decided in one file. ## Spawning `M.group(parent, name, p)` for an empty named child, `M.part(parent, name, opt)` for a drawn primitive — `mesh`, `mat`, `p`, `s`, `r`, `visible`, `shadows`. `M.rot(yaw, pitch, roll)` and `M.axis(ax, ay, az, angle)` return quaternions as 4-arrays, which is the shape `localRotation` takes. ## Deterministic noise Nothing in this slice calls `math.random`: two takes of the film must be the same film, so every scatter is a pure function of an index and a fixed salt. `M.hash(i, salt)` in [0, 1), `M.span(i, salt, lo, hi)` mapped into a range, and `M.stream(seed)` for a walker that advances the salt for you. ## The film clock `M.now()` is the cutscene's time while a cutscene plays, and a free-running accumulator otherwise, so a prop still moves for a capture taken by hand between takes. `M.tick(dt)` advances that fallback and is called once a frame by `PropsDriver` alone; `M.rewind()` puts it back to zero. `M.since(t0)` is the seconds of film since a beat fired at `t0`, or -1 for "that beat has not happened". A sequence keyed on it survives the clock being SEEKED: land behind the beat and the sequence reads as un-fired again, which is what the shot before it should look like, rather than freezing whatever pose the sequence held when the clock jumped. ## Easing `M.sat`, `M.ramp(t, a, b)`, `M.outCubic`, `M.inCubic`, `M.lerp3` — small, named and shared, so a beat's ramp reads the same everywhere in the slice.
▲ 0↑ born
backing path · demo/props/masks.module

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬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.