All recipes

R22 · Imagined Worlds · Motion

Zoetrope

The oldest machines made to make pictures move, playing cinematic loops under a strobe: a drum spins as a blur until the strobe locks to its turn and a horse gallops inside it, then a cabinet of a mirror drum, a spinning disc and a flip book, each playing a loop, until the strobe drifts out of phase.

32.0s · 1920×1080 · 30fps

My Midjourney video loops, played on the oldest machines made to make pictures move. A lacquered zoetrope spins as a blur under a lamp; a strobe stutters on and locks to the spin, the drum stands still and my thermal horse gallops inside it. The camera dives into the loop, then pulls back to a cabinet: a praxinoscope with a ballerina in its mirrors, a phenakistiscope with a ring of kingfishers, a flip book riffling through dusty ruins. The strobe drifts out of phase, everything smears and slows, one flash locks it all again, and the title lands over my burning carousel.

An original score composed in code: a whirr that follows the machines' spin, a xenon tick for every strobe flash that becomes a projector clatter when it locks, a 150 bpm pulse with one beat per turn of the drum, galloping hooves, a music box, wing beats and a paper riffle for the cabinet, a tape stop as the machines slow, and a wide D major chord on the title. No spoken dialogue. On-screen text carries the story.

scene breakdown · select a scene to play

The prompt

The brief I gave Claude Code, with the HyperFrames skills installed, to start this film. Approvals and fixes came after, but this is where it began.

prompt · verbatim
Make a 32-second 1920x1080 film in HyperFrames for the Motion page of my site, where my Midjourney video loops live:
the oldest machines made to make pictures move, playing my loops under a strobe. Three.js with bloom, a dark cabinet
at night, black velvet, oiled walnut and brass, one warm lamp and one cold strobe, ember #ff6d3b as the only accent,
Fraunces and IBM Plex Mono.
Spin: a lacquered zoetrope drum on a walnut pedestal spins under the lamp, its painted numerals smeared into streaks.
Lock: a strobe stutters on, a few frames at first, then more, the pictures drifting, until it fires on every frame and
locks to the spin: the drum stands still and my thermal horse gallops around the inside.
The dive: the camera drops into the drum and through the far picture, and a flash cuts to the loop itself, full frame.
The cabinet: a flash back out to a walnut table of machines with brass plaques: a praxinoscope with a ballerina
dancing in its mirrors, a phenakistiscope disc with a ring of kingfishers flapping, a flip book riffling through a
child running in dusty ruins. Then all four in one wide shot.
Out of phase: the strobe drifts off the beat and the pictures slide, then it stops, everything smears and winds down
under the lamp, and one flash locks it all again.
End on a last flash into my burning carousel loop, under "Motion", "Worlds that refused to hold still." and the URL.
Station titles wipe on bottom left; a HUD names the light.
Technique: the film's own frame clock is the strobe. A machine that turns exactly one slot per film frame reads as
still while its pictures move. Off the lock, a frame is several renders averaged into real motion blur. One table
baked in Python holds the clock, the frames the strobe fires on and the spin, and every machine turns by its integral.
Each loop is cut to 60 frames on one atlas, the stretch whose end best matches its start, cross-faded into a loop.
Score: compose it in code from the same table: a whirr at the rate the slots pass, a xenon tick on every flash that
becomes a projector clatter when locked, a 150 bpm pulse with one beat per turn (Dm, Bb, F, C), four hooves a stride,
a music box for the mirror drum, wing beats for the disc, a paper riffle for the flip book, a tape stop as the machines
slow, and D major on the title.

Remix it

Swap the parts in braces and paste it in. Some starting points:

  • A band's tour clips on a cabinet of zoetropes, one per song.
  • A sports club's best moments on spinning discs.
  • A product's features playing in a praxinoscope's mirrors.
  • A family's home videos in a flip book.
prompt · template
Make a {duration}-second {width}x{height} film in HyperFrames for {subject}: a cabinet of strobe-lit motion machines,
Three.js with bloom, {materials}, one warm lamp and one cold strobe, {accent} accents. A {first_machine} spins as a
blur, the strobe stutters on and locks, and {first_loop} comes alive inside it; the camera dives into it and cuts to
the clip, full frame. Then {machines}, each playing {loops}. The strobe drifts out of phase, everything smears, and
one flash locks it again. End on {title}, {line} and {url}. The film's frame clock is the strobe; one baked table drives
the spin, the flashes and a score composed in code.

Ingredients

stack
HyperFramesThree.jsTSLGSAPPython (frames, table, score)
length
32 s · 1920×1080 · 30 fps
table
The film's clock, the frames the strobe fires on and the spin in slots per frame, integrated into the phase every machine turns by, baked once in Python, read by the film and the score
loops
Five Midjourney video loops from this site: four cut to 60 frames on an atlas each, two played as clips
blur
Eight renders averaged across half a frame on every frame the strobe does not fire on
palette
#0b0a09 · walnut and brass · black lacquer · #ff6d3b
type
Fraunces · IBM Plex Mono
sound
A whirr at the rate the slots pass, a xenon tick per flash that becomes a projector clatter, a 150 bpm pulse, hooves, a music box, wing beats, a paper riffle, a tape stop, D major on the title

how it's built

  1. 01 · 00:01

    Real motion blur

    On a frame the strobe does not fire on, the scene renders eight times across half a frame into a half-float target and is averaged with a one-and-one additive blend.

  2. 02 · 00:03

    One table

    A table baked in Python holds the clock, the frames the strobe fires on and the spin; its integral is the phase every machine turns by, snapped to whole slots at each lock.

  3. 03 · 00:06

    The strobe is the frame clock

    A twelve-slot drum that turns one slot per film frame looks the same in every frame, so it reads as still, while each place shows the next picture.

  4. 04 · 00:10

    Into the loop

    The camera drops through the far picture and a white flash cuts to the loop itself, a HyperFrames video clip.

  5. 05 · 00:15

    Sixty frames an atlas

    Each loop is cut to the 60-frame stretch whose end best matches its start, cross-faded into a loop. One node material per slot picks its cell from a uniform.

  6. 06 · 00:21

    Out of phase

    The spin drifts off one slot per frame, so the pictures slide; then the strobe stops and the averaged renders smear everything as the machines slow.

gotchas

  • AI video loops rarely have a clean repeating cycle: pick the stretch whose end best matches its start and cross-fade the seam.
  • Averaged renders need an additive blend of one and one; the default additive blend multiplies by alpha and darkens the average.
  • A white picture under a strobe and bloom becomes a light: darken it in its material so it reads as paper.

source

Take the whole project

MIT for the code, composition and score. The loops (the frame atlases and the two clips), the name João Queirós and the site's brand are not included in the licence.