Log inGet started
World

The House Wears a Face

Branchmain
Branchesmain
Commit8e7f3baa4a

README.md

HallDrift

One entity swinging, sliding or breathing on its own clock. The generic oscillator this slice hangs on anything that has to move by itself.

Two of them are in the film: the gate leaf on its one surviving hinge, turning through shot 1, and the shutter on the facade that bangs through shot 2. The shutter uses bounce, which replaces the sine with a cubed half-sine — rest, snap, slam — so it reads as something hitting a frame rather than as something waving.

Phase is accumulated from dt, never from wall-clock time, so two takes of the film are the same film.

What it carries

  • mode — "rot", "pos" or "scale", what the wave is applied to.
  • axisX, axisY, axisZ — the direction it is applied along.
  • amp, base, period, phase — the wave.
  • bounce — the banging-shutter envelope instead of a sine.

Method

  • ref:rewind() — put the oscillator back to its authored phase, so a second take opens where the first one did.

Cost

One transform write per tick. It guards both hooks on engine.mode: the film runs in edit with the simulation going, where the engine fires both, and an unguarded body halves the authored period.