R63 · Pinterest Growth Automation · JQ AI SYSTEMS
A ring loom that draws a picture, pass by pass
String art in code: a ring of 300 pins and one thread whose straight passes, each chosen to add the most light the picture still owes, slowly draw a flower, then coral, amber and teal threads bloom it in colour.
40s · 1920×1080 · 30fps
A film for the Pinterest Growth Automation service, made as string art in code. A ring of 300 pins goes into a dark board and one light approves them. Then one thread starts to wind: a pass a day, then faster, never taking a pass back, until a flower comes out of nothing but straight lines. Coral, amber and teal threads bloom it in colour, and the camera glides low across the finished piece.
A score composed in code at 96 bpm, strings and wood in A major pentatonic. Three hundred pins tap into a board, a wooden mallet on every beat, and a rising tone runs round the ring with the light that approves them. Then every pass of thread is plucked as it lands, its pitch set by its length like a real string: the first three are single notes, a day each, and then the passes speed up until the plucks merge into a shimmer and the chords swell with them. Each colour thread plays in its own register. The thread ties off on one held note, and one full chord brings in the mark. 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.
Make a 40-second 1920x1080 film in HyperFrames for Pinterest Growth Automation, a service that designs a batch of on-brand pins once, which you approve as a batch rather than post by post, then publishes one every day without anyone touching a scheduler. Pins keep surfacing for months, so reach compounds over weeks and months, and everything runs on your own accounts, so you own the system and the audience. Make it string art in code, the classic ring loom: a ring of nails and one thread, where every pass is a straight line and none means anything alone, but together they draw a picture. Wind it in Python first. Draw a flower in code (twelve petals, a seed disc, a stem, two leaves) and split it into one brightness map per thread: bone for the whole flower, then coral, amber and teal. From the nail it is on, each thread takes the pass to another nail, never a near neighbour, that covers the most light still owed, then takes that light off. Let each pass carry little light, so the picture needs many fine passes, and charge a pass for every bit of empty board it crosses, so the colour stays on the flower. Draw it in WebGL2: 300 pins with round heads in the brand colours on a dark wooden board, every pass an instanced ribbon at the thread's true width, faded where it is thinner than a pixel and a half and added up as light, so passes build like real thread. One low key light with a shadow map. Work out every frame from the time alone. One table holds the pins, the passes, the camera and the captions, and drives both the film and the score, at 96 bpm. A "PINTEREST GROWTH AUTOMATION · DEMO BOARD" label stays on screen. The score is composed in code, strings and wood: a tap for every pin, and a pluck for every pass, its pitch set by its length like a real string, kept in A major pentatonic. The batch: a low camera watches the pins press into the board in a ring, a mallet on every beat. "A BATCH OF ON-BRAND PINS." "DESIGNED ONCE." Approved: one light runs round the ring and every pin flashes as it passes. "YOU APPROVE THE BATCH," "NOT EACH POST." Day one: from a three-quarter view of the whole ring, the thread ties on and lays one pass, a day, labelled DAY 1, then DAY 2 and DAY 3, each a single plucked note. "ONE PIN, EVERY DAY." "NOBODY TOUCHING A SCHEDULER." It compounds: the passes speed up to hundreds a second, the plucks merge into a shimmer, the camera pulls back, and a flower comes out of nothing but straight lines. "PINS KEEP SURFACING" "FOR MONTHS." "IT COMPOUNDS." In your brand: coral, amber and teal threads wind over it and the flower blooms in colour. "IN YOUR BRAND," "ON YOUR ACCOUNTS." Yours: the thread ties off, and the camera glides low across the finished piece and back out. "YOU OWN THE SYSTEM." "AND THE AUDIENCE." Close: the logo placed flat, never redrawn or recoloured, on dark with "Pinterest Growth Automation", the URL and "A SERVICE · THIS FILM IS CODE". Take facts only from the service page. The board is a demo. Name no tools, figures or results, and claim no prices and no running costs.
Remix it
Swap the parts in braces and paste it in. Some starting points:
- A brand mark wound in its own colours, the thread speeding up as the mark comes out.
- A newsletter's hundredth issue: one pass per issue, and the hundredth draws the last line of a portrait.
- A product launch: the thread winds the product's silhouette, and the colour threads bring in its finishes.
- A habit tracker: one pass a day for a year, and the year draws the picture.
Make a {duration}-second {width}x{height} film in HyperFrames for {product}, made as string art in code: a ring of {nails} nails and one thread that winds {your_picture} out of straight lines, each pass chosen in Python to add the most light the picture still owes. Start slowly, {your_first_steps}, a pass at a time, then speed up until the picture comes out, and let {your_colours} threads bloom it, then end with {your_mark}, placed flat, with {line} and {url}, at {bpm} bpm, with a score composed in code where every pass is a pluck pitched by its length.Ingredients
- stack
- HyperFramesWebGL2GSAPPython (winding, table and score)NumPyFFmpeg
- length
- 40 s · 1920×1080 · 30 fps, 64 beats at 96 bpm, with a 9:16 cut re-laid for portrait, not cropped: a wider lens so the ring fills the width, smaller captions above the ring, and a two-line end title
- winding
- 300 nails; bone 1,103 passes, then coral 320, amber 160 and teal 200. A pass never goes to a nail closer than 16 round the ring, carries a fifth of the light a bold thread would, and pays for every bit of empty board it crosses
- thread
- Instanced ribbons at the thread's true width, faded where thinner than a pixel and a half and blended additively, so the light builds like real thread; the first three passes are drawn thick enough to follow and the thread thins as the passes rush
- pins
- Round heads in coral, amber, teal and bone on steel shafts, lit by one low key light with a 4096 shadow map, on a dark wooden board
- type
- Archivo 800 captions along the top, JetBrains Mono for the day labels and the demo label
- sound
- NumPy from the same table: a tap for every pin, a rising tone for the approval, a Karplus-Strong pluck for every pass pitched by its length in A major pentatonic, chords that swell as the passes speed up, and a register for each colour thread
how it's built
01 · 00:00
The batch
300 pins press into a dark board in a ring, a mallet on every beat.
02 · 00:06
Approved
One light runs round the ring and every pin flashes as it passes.
03 · 00:09
Day one
The thread ties on and lays a pass a day, DAY 1, 2 and 3, each a single note.
04 · 00:12
It compounds
The passes speed up to hundreds a second and a flower comes out of straight lines.
05 · 00:23
In your brand
Coral, amber and teal threads wind over it and the flower blooms in colour.
06 · 00:30
Yours
The thread ties off and the camera glides low across the finished piece.
07 · 00:36
The mark
The logo, the service and the link, flat on dark.
gotchas
- If each pass carries a lot of light, the picture is paid for in a couple of hundred passes and the winding stops. Let each pass carry little, so the picture needs a thousand fine ones, and draw them faint to match.
- Every pass on a ring crosses from rim to rim, so colour threads wash the whole ring. Charge a pass for every bit of empty board it crosses; too high a charge and a colour hardly winds at all.
- A thread far thinner than a pixel sparkles under multisampling. Draw it at least a pixel and a half wide and fade it by how much thinner it really is.
- Blend the thread additively, as light, and don't write it to the depth buffer, or later passes vanish behind earlier ones.
- A camera that follows the thread's tip loses the ring, since a pass crosses the whole board. Show the first days from a view of the whole ring, so each pass reads from nail to nail.
- The portrait cut can't be a crop: widen the lens until the ring fills the width, and set the captions above it.
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. Pinterest Growth Automation is a service and isn't in the repo: only the film's code is here.