All films

film 076 · code

AI Agent Architecture · Casting

40s · 1920×1080 · 30fps

A film for the AI Agent Architecture service, made of one shadow sculpture in code: a lattice of 1,731 small blocks that looks like a tangle from every side. Three level lamps switch on, and each throws a different exact word onto its own wall: RESEARCH, DRAFT and REVIEW, all from the same blocks. The camera moves into each lamp's line and the tangle locks into its word. A fourth lamp swings in and the lattice rebuilds itself, block by block, until PUBLISH lands too. Then every block slides into one plain cube with one plain shadow, and back out.

A score composed in code at 96 bpm, dry and wooden like a small room. Each lamp switches on with a heavy relay clack and then hums on its own note, so the lamps make a chord as they light: D, A and F sharp, and the fourth adds E. Blocks sliding in and out are soft wooden knocks, each handoff is a plucked run travelling along the wall, the collapse is a box of blocks settling with one plain thump, and the end card brings the full chord back. No spoken dialogue. On-screen text carries the story.

scene breakdown · select a scene to play

This film has a recipe: the prompt, a template to remix it and the source. Open the recipe

The study

One system, one shared memory, each agent casting its own output. The lattice is the shared memory and each lamp is an agent with one role: the agents differ only in where they stand and what they look at, and that's the architecture. The film adds a fourth agent to show a system that grows, and then collapses everything to one plain block, because sometimes one prompt is enough. Facts come only from the service page. The system is a demo and a label says so, the three roles are the page's own examples, and no tools, models, prices or results are named.

tools
HyperFramesWebGL2Canvas 2DPythonNumPyPillowGSAPFFmpeg
techniques
A lattice carved so every shadow is a wordInstanced 3D blocks with four real shadow mapsA rebuild between two carvingsA camera that lines up with each lamp

process notes

01

The carving

Each word is drawn as a mask. The solid is where every mask, pushed along its own lamp's line, says yes; it's then thinned one block at a time, in a seeded order, for as long as every shadow stays exactly the same. Three lamps keep 1,731 blocks and cast pixel-exact words.

02

Four lamps

A second carving for four lamps keeps 2,115 blocks, 1,717 of them shared with the first. A repair pass places a block for every pixel nothing could cast, where it only thickens a letter's edge, so all four words are complete.

03

Real shadows

Every block is instanced in WebGL2 and every lamp is a parallel beam with its own 2048 px shadow map, held in one depth texture array, with soft beam edges and 4x antialiasing. The lamps are level, which is what makes the carving possible.

04

One table

A table baked in Python holds the lamps, the turn, the rebuild, the collapse, the camera and the captions, and drives both the film and the score, at 96 bpm. Any frame renders from the time alone.