HallBreath.component
README.md
HallBreath
The house is never still. One instance, attached to the Hall slice root; it
finds H_BallWalls, H_Ceiling and H_BallTrim by name and drives the
ballroom's shell on a long period — the walls swell a few centimetres and
settle, the ceiling sags and lifts and rolls a fraction of a degree.
Nothing here is fast enough to look like motion. It is what keeps a LOCKED shot — six and fourteen, the two frames the film is built to compare — from reading as a still frame, and it is the reason the room feels like it is inhaling.
What it carries
period— seconds per breath (8.6). Measured in a dt-accumulated clock, so the tick guard below is what makes the number true.depth— a multiplier on every amplitude, for a slice that wants the house to breathe harder.
Method
ref:rewind()— put the breath back to the start of its cycle, so two takes of the film open on the same frame.demo.hall'sM.reset()calls it.
Cost
Three transform writes per tick. It guards both hooks on engine.mode: the
film runs in edit with the simulation going, where the engine fires update
AND editorUpdate, and an unguarded body makes the 8.6 s breath a 4.3 s one.