All recipes

R34 · Phone Webcam Bridge · your phone as your webcam

Paper toy theatre

A film for a phone-to-PC webcam bridge made as paper cut-out stop motion in a backlit toy theatre: curtains that part on a paper office at night, a phone that rises through a trap, PIN tiles that match, frames that run on a pulley from the lens to the PC, and footlights that come up when the meeting goes live.

33.1s · 1920×1080 · 30fps

A film for Phone Webcam Bridge, João's system that turns an Android phone into the webcam on a Windows PC, and the third of season four: paper cut-out stop motion, staged as a backlit toy theatre. The curtains part on a paper home office at night; a phone rises through a trap and two flaps turn it to 1080p and the front camera; six PIN tiles flip on the phone and match on the PC, and the phone's screen goes dark while the lens keeps throwing light; a USB cable unrolls across the stage and Wi-Fi rings ripple behind it; the picture runs to the PC as paper frames on a pulley while zoom, exposure and the camera switch are set in the bridge; Start OBS Camera lights the meeting tile and the footlights come up; and a roller blind drops over the cloud with three tags: 0 accounts, no server, no telemetry.

An original score composed in code at 96 bpm over D major 7, B minor 7, G major 7 and A6: an electric piano, a sub bass and brushes over a little vinyl hiss, with the theatre's own sounds on the beat: curtain rings on a rail, a phone rising through a trap, flaps and PIN tiles flipping, a bell when the PIN matches, a cable unrolling, Wi-Fi chimes, the frames fluttering past on a pulley, the bridge's controls, a chord when the meeting tile lights, the footlights popping one by one, a roller blind ratcheting down, and a D major chord and a bell on the logo. 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 33.1-second 1920x1080 film in HyperFrames for Phone Webcam Bridge, my system that turns an Android
phone into the webcam on a Windows PC, as paper cut-out stop motion staged as a backlit toy theatre. Reuse the paper
engine from Planner: one Canvas 2D, each piece a cut path with an edge torn by noise, filled with a paper stock
generated from noise, poses on twos with the edges re-cut on each pose. Stand it up: five flat layers at different
depths (back wall, set, apron, arch, curtains) and one camera that dollies through them, so near layers slide faster
than far ones. Screens, lamps and footlights are tissue lit from behind. A paper home office at night: plum wallpaper,
a window on a starry sky with a cloud and a sign-in card, a floor lamp, a desk and a monitor showing a video meeting
of invented paper puppets. Plum, night blue, theatre red, gold, amber and cream, with cyan for the phone's light.
Archivo, Instrument Serif italic and JetBrains Mono, each word of the lines on its own strip of paper.
Curtain up: the lamp flickers on and the red curtains part. "Your phone"
The phone: it rises through a trap on a rod; two flaps on its screen turn from 720p to 1080p and from back to front,
and the lens throws a cone of light. "is the camera."
Pairing: the bridge's panel slides onto the monitor; six PIN tiles flip on the phone, then the same six on the PC,
a bell when they match, and the phone's screen goes dark while the lens stays lit: "screen off · still streaming".
Link: a cursor presses Connect USB and a cable unrolls across the stage; Wi-Fi rings ripple behind it. "USB or Wi-Fi."
The feed: the picture runs from the lens to the PC as paper frames on a pulley; the preview shows the face and a
30 fps tag; the zoom and exposure sliders move and the camera switch flips. "You run the picture."
On stage: Start OBS Camera, the panel slides away, the "you" tile in the meeting lights up, and six footlights pop
up one by one. "Live in your meeting."
Stays local: a roller blind drops over the window and its cloud, and three tags land: 0 accounts, no server, no
telemetry. "Nothing leaves the room."
Title: the curtains close, a front-cloth drops, and the JQ AI SYSTEMS logo lands flat, never redrawn or recoloured,
with the system's name, "Your phone. Your webcam." and the URL. Score: compose it in code from the same table, 96 bpm,
electric piano, sub bass and brushes over vinyl hiss, with the curtain rings, flaps, tiles, cable, frames, controls
and footlights on the beat.

Remix it

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

  • A smart doorbell: the porch as the set, a camera rising on the door frame, a pairing code on the hall screen, the picture running on a pulley to a phone in the kitchen, and a blind over the cloud.
  • A home recording app: a microphone rising through the trap, a cable to the laptop, levels set on the panel, the track lighting up in the mix, and the footlights for the take.
  • A wireless speaker: the speaker rising into a living room, a PIN on the hi-fi, notes running on the pulley, the volume set, and the room lit as the record starts.
  • A local photo backup: a phone on stage, a cable to a drive under the desk, photos running along the pulley a frame at a time, and the blind down over the cloud.
prompt · template
Make a {duration}-second {width}x{height} film in HyperFrames for {subject} as paper cut-out stop motion
staged as a backlit toy theatre: five flat layers at different depths and one camera dollying through them, torn
edges, paper stocks made from noise, tissue lit from behind and poses on twos. The curtains part on {the_set};
{the_device} rises through a trap and its flaps set {the_settings}; {the_handshake}; {the_connection} crosses the
stage; {the_output} runs along a pulley while {the_controls} are set; {the_moment} lights up and the footlights pop
up one by one; a roller blind drops over {what_stays_out} with {the_tags}; and the curtains close for the logo,
placed flat with {line} and {url}. One baked table drives the beats, the pieces, the type and a score composed in code.

Ingredients

stack
HyperFramesCanvas 2DGSAPPython (table, score)
length
33.1 s · 1920×1080 · 30 fps, with a 9:16 cut re-laid as a tall proscenium, not cropped
renderer
One Canvas 2D repainted on every seek: every layer, piece, light and line of type, with HTML only for the HUD and the end card
depth
Five flat layers at fixed depths, each drawn through a scale and offset worked out from its depth and the camera's, so one dolly gives real parallax between the curtains and the back wall
paper
Each piece is a path resampled every few pixels and torn by value noise along its normals, filled with one of 20 paper stocks generated from noise once at load
light
Backlit pieces fill with a radial glow inside their cut shape; light cones and glows are added on top, so the lens, the monitor, the lamp and the footlights throw light across the set
data
The beats, a sample PIN, the phone's two settings, the three tags, the meeting's invented puppets and the lines of type, baked once in Python on a 96 bpm grid
palette
#3a2142 plum · #18233f night · #a8302e red · #c9a24f gold · #e8a948 amber · #f2e9d8 cream · #5fd4e0 cyan
type
Archivo · Instrument Serif italic · JetBrains Mono, each word cut on its own strip
sound
96 bpm over Dmaj7, Bm7, Gmaj7 and A6: electric piano, sub bass and brushes over vinyl hiss, with curtain rings, flaps, tiles, the cable, the pulley and the footlights on the beat

how it's built

  1. 01 · 00:01

    Curtains on a rail

    Each curtain is one torn drape squeezed toward its edge as it opens, with its folds drawn as shaded bands, and a tie-back that lands once it has gathered.

  2. 02 · 00:04

    Up through a trap

    The phone rises on a rod with a little overshoot, and the stage floor in front of it hides the part still below, so it really comes up through the boards.

  3. 03 · 00:07

    PIN tiles that match

    Six tiles flip on the phone, then the same six on the PC a beat later; the match is a bell, and the phone's screen goes dark while the lens keeps its glow.

  4. 04 · 00:11

    A cable that unrolls

    The cable is a path drawn up to a moving length, so it unrolls from the phone to the PC; the Wi-Fi rings ripple behind it on the beat.

  5. 05 · 00:14

    Frames on a pulley

    The picture runs between two wheels as small paper frames pegged to a line, clipped to the space between the wheels, and each frame shows the face the camera sees.

  6. 06 · 00:17

    The bridge's controls

    A paper cursor drags the zoom and exposure sliders and flips the camera switch, and the preview zooms, brightens and turns with them.

  7. 07 · 00:22

    Footlights

    Six cups pop up along the apron one after another, each with a glow and a cone of warm light thrown up the set.

  8. 08 · 00:26

    A roller blind

    The blind drops over the window with a ratchet that slows as it goes, and three tags land on it: 0 accounts, no server, no telemetry.

gotchas

  • Work out every layer's transform from its depth and the camera's, rather than moving layers by hand: the parallax stays consistent through every camera key.
  • Put the near layers (arch and curtains) at a depth just in front of the set, or the dolly pushes them out of frame long before it reaches the screen.
  • Hold the phone's screen dark but keep the lens lit: the point of the beat is that it still streams with the screen off.
  • Re-lay the portrait cut rather than cropping it: the stage becomes a tall proscenium, the pulley stands upright, and the curtains open further so they never hide the phone.

source

Take the whole project

MIT for the code, composition and score. The JQ AI SYSTEMS logo and name are not included in the licence. Phone Webcam Bridge itself is not open source and is not in the repo; the PIN and the people in the meeting are invented.