R49 · AI Brand Visuals · JQ AI SYSTEMS
Stop-motion clay in code
A press built from a style system: mismatched clay pictures are squashed into one marbled lump, then pressed out as a whole wall with one look. One wrong picture in hot pink gets flattened by a heavy stamp.
32.88s · 1920×1080 · 30fps
A stop-motion clay film made entirely in code for the AI Brand Visuals service. Mismatched clay pictures are squashed into one marbled lump, and a press is built from the four parts of a style system: references, recipes, rules and a do-not list. The press runs on the beat until a whole wall of different pictures shares one look. Then one wrong picture appears in hot pink, and a heavy stamp flattens it.
A late-night score composed in code at 104 bpm in D minor: upright bass, brushed drums and vibraphone, with the press as the kick and a wet slap for each picture. A wrong note for each mismatched picture at the start. The band stops dead for the pink picture, one rising note, one stamp, and then the band comes back. 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 32.88-second 1920x1080 film in HyperFrames for AI Brand Visuals, a service where a brand designer makes on-brand images, motion and music with AI, starting from a visual style system the client keeps. Make it dynamic motion design, a showreel piece. It's stop-motion clay made entirely in code: one hand-written WebGL2 raymarcher with signed distance fields, thumbprints pressed into the surface, posed at 12 poses a second over a 30 fps render with tiny per-pose jitter and flicker. A black box studio under one hard, warm spotlight with a real cone and a hard edge, and a little sheen on the clay. 104 bpm, 57 beats. Ember, bone and deep teal once the system is on, clashing colours before it, and hot pink only for the one wrong picture. Archivo at 900 extruded as clay, and near-black #0B0C12 for the end card. Pictures are height maps of layered flat clay on one plaque shape, so a wall of 45 costs the same as one. A "AI BRAND VISUALS · DEMO PICTURES" label stays on screen. One Python table holds the beat grid and every event, and the film and score both read it. The score is composed in code in D minor: upright bass, brushes and vibraphone, with the press as the kick and a wet slap for each picture. The mismatch: six clay pictures in six clashing colour schemes and six shapes land one by one, each with a wrong note. "ONE BRAND?" The lump: they're squashed together into one marbled ball, with colour that runs through the volume, and it's kneaded on the beat as the colours twist. "NOT A DEFAULT AI IMAGE." The press: a screw comes down, and four plates slide onto it from alternate sides and lock: REFERENCES, RECIPES, RULES, DO-NOT. The marbling settles into the system's palette. "A STYLE SYSTEM FOR YOUR BRAND." The first set: the press comes down once, slowly, and flattens the lump. It lifts, and six pictures slide out. A clay arm comes in from the side and a thumb marks each one. "YOU APPROVE THE FIRST SET." The run: the six fly up onto a wall. The press slams on every beat and more pictures fly out each time, while the camera pulls back. It lifts away to show 45 different pictures with one palette. "ONE LOOK." The do-not: one picture is hot pink. The band stops dead and the light narrows to it. One rising note, then a heavy stamp with DO-NOT on its back slams down on it, holds, and lifts past the camera. The splat slides down, a picture that fits flies in, and the band comes back. "THAT'S WHAT THE DO-NOT LIST IS FOR." It moves: every picture but three sinks into the wall. A boat rocks, a bird flaps and a record spins. "IMAGES. MOTION. MUSIC." Yours: the press lands on the table without its screw and slides towards the camera until its plates fill the frame. "THE SYSTEM IS YOURS TO KEEP." Close: the logo lands flat on dark, never redrawn or recoloured, with "AI Brand Visuals", the URL and "A SERVICE · THIS FILM IS CODE". Take facts only from the service page. "Yours to keep" is about the style system only, never ownership or copyright of images. Claim no prices and no results, and use no third-party names or logos.
Remix it
Swap the parts in braces and paste it in. Some starting points:
- A brand guide: a stack of plates for logo, colour, type and tone, pressing out a wall of posters that all belong together.
- A template pack for a social team: one press, and a wall of posts in many formats and one look.
- A code style guide: a press built from rules, a wall of tidy files, and one messy file that gets stamped flat.
- A recipe book: a press of ingredients and methods, and a wall of plates from one kitchen, with one burnt dish.
Make a {duration}-second {width}x{height} film in HyperFrames for {product}, whose story is {the_story}, as stop-motion clay made entirely in code. Use one hand-written
WebGL2 raymarcher, with thumbprints pressed into the surface, posed at 12 poses a second, under one hard spotlight in a black studio, in {your_palette}. Squash {the_mess_before} into one marbled lump, build {the_tool_you_sell} from its {labelled_parts},
and press out a wall of {what_it_makes}, drawn as height maps on one shape so the wall stays cheap. Put {the_one_wrong_thing} in the wall, stop the music dead, and flatten it with a heavy stamp. Hand over {what_they_keep}. End with {your_mark},
placed flat, with {line} and {url}, at {bpm} bpm with a late-night score composed in code.Ingredients
- stack
- HyperFramesWebGL2Canvas 2DGSAPPython (table, score)FFmpeg
- length
- 32.88 s · 1920×1080 · 30 fps, 57 beats at 104 bpm, with a 9:16 cut re-laid for portrait, not cropped: the wall becomes 5 across and 9 high, and the first set two rows of three
- renderer
- One hand-written WebGL2 fragment raymarcher, on the same clay surface and posing as R47 Flywheel and R48 Reflow, with new scenes, new palette and a new light
- the pictures
- Eight pictures written as layers of 2D distance fields. Each layer sets a colour and adds height with a pillowed edge, and the height tilts the surface when it's shaded
- the wall
- 9 by 5 cells by domain repetition, so only the nearest cell's distance is worked out. A table of 45 values says which cells have landed, and an empty cell gives a safe step
- the marble
- Colour worked out from the lump's own coordinates, twisted around its axis by a value that grows as it's kneaded, then mixed from four colours by two sharp sine bands
- the light
- One spotlight with a real cone and a hard edge, keyed by beat, so it can go from the whole wall to a single picture. Words ignore most of it, so they still read in the dark
- rendering
- 4 samples per pixel added up in an RGBA16F buffer, drawn in 135 pixel bands, with a dithered 40-step shadow
- sound
- Upright bass (plucked in code with Karplus-Strong), brushes, ride, vibraphone with a slow motor, and clay slaps in D minor, with NumPy
how it's built
01 · 00:01
Six wrong pictures
Each lands with its own colours, its own shape and its own wrong note. There's no band yet, because there's nothing holding them together.
02 · 00:04
Colour that twists
The pictures melt into one lump. Its colour runs through the volume, so kneading it really does twist the bands, and it moves to the system's palette as the plates arrive.
03 · 00:07
Four plates on a screw
They slide in from alternate sides and lock with a hit each. Naming the four parts of the system this way means the film never has to explain them.
04 · 00:11
One slow press
It takes a long time to come down, then flattens the lump in one frame. Six pictures slide out, and an arm comes in from the side to mark each one, because the client approves the first set.
05 · 00:15
The run
The press is the kick. Each slam sends more pictures to the wall than the last, starting from the middle, while the camera pulls back.
06 · 00:21
One look
The press lifts away and the whole wall shows for the first time: 45 different pictures from one palette and one set of rules.
07 · 00:22
The do-not
One picture is hot pink. Everything stops. The stamp has no handle, so you see its back, with DO-NOT on it. It slams down, holds, then lifts past the camera, and the flat picture slides down the wall.
08 · 00:25
Three that move
All the others sink into the wall, so the boat, the bird and the record have the frame to themselves. Then the press slides to the camera without its screw.
gotchas
- A word's distance field stops at its box. Keep the distance growing outside it, or its shadow comes out as a soft rectangle and not as letters.
- An empty cell has to give a safe step, but that step reads as an occluder. Give shadows and ambient light their own version, or a faint grid shows up on the wall behind.
- A word far from the wall casts a second, readable line of type. Move it close to the wall, and the shadow turns into relief.
- A long arm that passes the camera gets enormous. Bring it in across the frame.
- A hard spotlight also leaves objects dark as they slide out of it. Move the light with whatever is heading for the camera.
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. AI Brand Visuals is a service and isn't in the repo: only the film's code is here.