R43 · Codex Control Center · a local-first dashboard that keeps the shape and not the words
Oscilloscope music
A film whose soundtrack is its picture: one beam of light steered by the WAV's left and right channels draws every word and wire form, and how fast it redraws them is the note you hear.
34s · 1920×1080 · 30fps
A film for Codex Control Center, drawn by one beam of light on an oscilloscope and steered by its own soundtrack: the left channel moves it across, the right channel moves it up and down. A dot opens into a sphere, a demo log's private words melt into waveform, a wire dashboard turns in space, and the beam collapses to a held dot at APPROVE? before the gate opens into a tunnel. FULL ACCESS gets a red X, words scatter through a wire grid, and the tube switches off. Plot the composed WAV on an XY scope and it draws these images.
The soundtrack is the signal that steers the picture: a buzzing, tuned drone whose pitch is how fast each image is redrawn, with a kick and a snare that throw the image about, near silence when the beam holds a dot, and a tube switch-off at the end. There is no separate music bed. 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.
Make a 34-second 1920x1080 film in HyperFrames for Codex Control Center, a local-first dashboard that keeps the shape of a session and not its words. Make it dynamic motion design, a showreel piece. The soundtrack is the picture: the film is one beam of light on an oscilloscope, where the WAV's left channel is x and its right channel is y, so nothing is in the signal that isn't drawn and there is no separate music bed. One Python script builds both from one array at 48 kHz: a hand-made single-stroke font, a 3D wire projector, a path sampler where pen-up jumps are nearly instant, and morphs that blend two paths sample for sample. How fast an image is redrawn is the note: tune the rates to E, C, A and B at 120 bpm, 68 beats. A kick throws the picture and pumps its size, a snare frazzles it, and a held dot is silence. The script writes the WAV and the same samples for the film. The film draws each frame's samples as additive WebGL2 line segments, brighter where the beam moves slowly, with an afterglow, bloom, curved near-black glass #030505 and a faint graticule. The colour is keyed by time: teal, aqua, amber for the gate, red for the refusal. All log text and figures are fictional and labelled DEMO DATA. The dot: a dot and a hum open into Lissajous figures and a wire sphere. The log: a demo log whose private words melt into waveform. "SEES THE SHAPE", "NOT THE WORDS", "METADATA ONLY." Observe: a wire 3D dashboard turning in space. "NO API KEY TO OBSERVE." The gate: a wire gate, "APPROVE?", the beam collapses to a held dot and the sound stops. The gate opens into a tunnel. "READ-ONLY". "FULL ACCESS" gets a red X and a harsh buzz. Publish check: words fall through a wire grid and scatter, three things stay and get ticked. "CHECKED BEFORE IT'S PUBLIC." Close: the tube switches off to a line and a dot, then the logo placed flat, silent and never redrawn or recoloured, with "Codex Control Center", the URL and "Open source · MIT", drawn by the beam. Use "Codex" only in the system's name, take facts only from the case study and claim no results.
Remix it
Swap the parts in braces and paste it in. Some starting points:
- A synth or audio plugin: the interface and its name drawn by the sound it makes.
- A band's album teaser: the track's own stems drawing the title and the sleeve as one line.
- A monitoring tool: a healthy trace, a fault, a recovery, with the sound changing as the picture does.
- A science museum: Lissajous figures turning into the exhibit's name, with the WAV as a free download.
Make a {duration}-second {width}x{height} film in HyperFrames for {product}, where the soundtrack is the picture: one beam of
light on an oscilloscope, with the WAV's left channel as x and its right channel as y. One script builds both from one array: a
single-stroke font, a 3D wire projector, nearly instant pen-up jumps and sample-for-sample morphs. Redraw rates are the notes, tuned
to {your_key} at {bpm} bpm; the kick pumps the picture's size, and a held dot is silence. Draw {your_forms} and {your_words} as one line,
with phosphor, bloom and curved glass, colour keyed by time from {your_colours}. Build to {the_big_moment}, collapse to a held dot just
before it, switch the tube off at the end, and place {your_mark} flat with {line} and {url}. Say plainly what isn't in the audio.Ingredients
- stack
- HyperFramesWebGL2Python (NumPy)GSAPFFmpeg
- length
- 34 s · 1920×1080 · 30 fps, 68 beats at 120 bpm, with a 9:16 cut re-laid for portrait, not cropped: its own WAV, drawn for a tall frame
- the signal
- Stereo at 48 kHz, left as x and right as y, built as one array by score/compose.py, which writes assets/bgm/score.wav and assets/beam.js with the same samples. Both are generated, so run the script first
- renderer
- WebGL2: each frame draws its 1,600 samples plus 3 older frames' worth as additive line segments, weighted by age with a 0.55 decay, then bloom, curved glass and a graticule
- phosphor
- Each segment's brightness is inverse to its length, so the beam glows where it moves slowly, and its fast jumps nearly vanish
- font
- A hand-made single-stroke font, defined as polylines, because a beam can't fill a shape
- pitch
- The redraw rate of each image, tuned to E, C, A and B (41.2, 32.7, 55 and 61.74 Hz), with multiples per scene and an arpeggio on the dashboard and tunnel
- what isn't in the audio
- The colour is keyed by time, the logo is a flat silent image, the glass and graticule are the film's, and exposure is set per frame
- check it
- Plot the composed WAV, not a compressed copy: ffmpeg -i assets/bgm/score.wav -filter_complex "[0:a]avectorscope=mode=lissajous_xy[v]" -map "[v]" scope.mp4 gives the same images, turned or flipped by its settings, with jumps showing as thin lines
how it's built
01 · 00:02
Lissajous
Two sine waves at simple ratios, stepping up. It's the classic scope figure, and each step is a chord change you can see.
02 · 00:03
A sphere as one line
A wire sphere is projected in Python and walked as one path, so turning it changes the sound's timbre.
03 · 00:06
Words melt
The demo log's private words are morphed sample for sample into waveform, while time and event stay as letters.
04 · 00:13
A dashboard in one line
Bars, a ring and a number on a turning 3D plane, labelled DEMO DATA by the beam itself. More strokes mean a dimmer picture, so density is a budget.
05 · 00:20
Silence is a dot
A dot has no movement, so it has no sound. The film's biggest pause isn't an edit: the picture and the sound collapse as one thing.
06 · 00:21
The tunnel
Squares in depth at full volume. The zoom and the pitch come from the same numbers, and READ-ONLY gets its own larger scene so it has enough samples to hold.
07 · 00:24
The X
The beam's colour turns red by the time key, and the added strokes make the buzz harsher. The refusal is heard because it's drawn.
08 · 00:30
Switch-off
The picture collapses to a line, then a dot, and the sound goes with it. The logo that follows is flat and silent, and the copy says so.
gotchas
- Too few samples in a redraw and a word collapses. Use fewer letters per scene, or a slower rate, which lowers the note.
- Pen-up jumps still cost samples and show as lines. Weight them to almost nothing and they nearly vanish, but never entirely.
- Scope audio is harsh by nature. Round the corners a little, tune the rates and keep it short, and judge it on speakers.
- A compressed copy only approximates the signal, so a claim about the picture has to point at the WAV a reader composes.
- Be exact about the claim. Colour, the logo and the glass aren't in the audio, and saying so makes the rest of it more impressive.
source
Take the whole project
MIT for the code and composition. The JQ AI SYSTEMS mark is not included and not licensed: drop in your own logo. Codex Control Center has its own public repo.