The House Wears a Face
README.md
HallFloorChew
The checkerboard stops being flat. Attached to H_Floor, the group holding the
ballroom's 176 squares; every child named T_<i>_<j> is picked up and the
parity of i + j decides whether it is a black square or a white one.
Two numbers drive it, and they are different things:
chew— black squares sink and white squares rise, in a slow wave crossing the room onperiodseconds. This is the floor eating, and it is what shots 7 and 12 are about.grin— the squares lying near the curvez = 2.6 - 0.055 x²climb clear of the rest. From the ceiling hole in shot 12 the floor is resolving into a mouth; from the station in shot 14 the smile line is a ridge running across the room.
Each tile also tilts with the chew, so the floor reads as broken rather than as a field of lifted blocks.
What it carries
chew,chewTarget,chewRate,grin,grinTarget,grinRate— all six are 0 in shot 1 and are authored that way oncomponent.add, targets and rates included.period— seconds the wave takes to cross one tile's phase cycle (6.5).restY— the height a flat tile sits at.
Methods
ref:chewTo(v, secs)— drive the chew towardvoversecs.ref:setGrin(v, secs)— drive the smile line towardvoversecs.
Who drives it
The stagecraft slice's FaceRig: chew from its CHEW curve, grin from its
REFORM curve, every frame. demo.hall's M.setChew and M.setReform reach it
and are what M.restPose() uses.
Cost
176 tile transforms and 176 rotations per tick. It declares both update and
editorUpdate and guards them on engine.mode, because the film runs in edit
with the simulation going and the engine fires both there — unguarded, the wave
runs at twice its authored period and the writes are doubled.