Satisfying ball ring animation with Claude Code
The oddly satisfying loop where a crusher squeezes balls and the ring fills with colour is a ball ring animation that Claude Code can make. The balls obey a small physics simulation that Claude writes, and HyperFrames renders the film to MP4. ReelStyles sells this look as a ready kit, so the machine, the camera and the lighting are already built.
Here you find the rules of the look, the steps, a vertical prompt and the closest styles. For the basics of making films in code, see how to make animated videos with Claude Code.
What makes the ball ring look
The film is wordless. One ball sits in a low white ring on a workbench. A steel C-jaw crusher with orange pads clamps on a fixed clock, and every ball it crushes comes back as several balls of the next colour. The ring fills wave by wave until the machine squeezes the ring and everything blasts across the bench.
The identity is the ring, the C-jaws, flat solid balls and the wave colours. Waves run in order: #FF7A1A, #5B3BFF, #36F06A, #FF3D8B, #29C6F2, #FFE81A, #A94BFF and #2CF5A0, with a finale in #FF4A2A. The ring is #F4F4F2 with a lit top edge, and the steel is #8B8F97 with orange pads #EBA43C. Balls are one flat colour with a soft contact shadow and one small glint. No gradients on the balls.
Dark does not mean murky. Every frame, frame 0 included, is a full lit picture with a back wall, a table, a light pool, a few props and the ring big in the middle. One hanging lamp throws every shadow away from itself.
The look shifts per shot with a grade: cold blue at the start, then calm, tense, hot and a warm bright payoff. Run them cold to warm across the film. The set changes too. A workshop has a pegboard wall, a lab has tiles and a steel bench, a stage has a curtain and speakers.
The camera cuts between wide and medium shots with slow pushes and a little hand-held drift. The one piece of type is a wall counter that shows the live ball count from the run, so it is always true to the physics.
Steps in Claude Code
1. Plan first
Plan a 12-second vertical ball-ring film in the lab set. Four pinches, big readable balls, grades running cold to warm. List each shot with its camera angle and what the counter shows. Show me the plan before you write any code.
2. Build one scene and look at stills
npx hyperframes lint . npx hyperframes snapshot . --at 1,3,6,9 -o snapshots
Check that the ring stays whole in 9:16, that neighbouring shots differ in angle and that every shadow falls away from the lamp. Go a few rounds before you render.
3. Render
npx hyperframes render . -o out.mp4 --quality looks --workers 2
Try --quality draft first to watch the pinch timing. For sound, see how to add a voiceover, or keep the film silent.
A prompt to paste
Make a 12-second 9:16 vertical ball-ring loop in the stage set. One white ball in a low ring under a hanging lamp. The steel crusher pinches four times; each crushed ball becomes six balls of the next colour, from orange to violet to green to pink. Grade the shots from cold blue to warm gold. A low angle on the full ring before the final blast. The wall counter shows the live ball count. No narration.
For a calmer climb, ask for fewer balls per pinch and a longer hold before the blast.
Which styles come closest
The ball ring kit has the crusher, the wave colours, the set recipes and the camera shots written down. If you want other physics or loop looks, these sit close.
| Style | Why it fits |
|---|---|
| Ball ring | The direct version: crusher, ring, wave colours, blast |
| Domino run | Another wordless chain with a lit table and a counter |
| Marble race simulation | Physics balls and a clear result |
| Oddly satisfying 3D loops | Loops with no visible join that feel calming to watch |
They all come in one ReelStyles purchase, and you can try 10 styles free first.
What this method cannot do
It makes one kind of machine well, a ring and a crusher, so it is a loop format and not a story with characters. A seven-pinch loop needs small balls, and too many balls will slow the render.
Questions
Does it work for Shorts?
Yes. The kit ships a 9:16 template, and the ring stays whole in 9:16 when the zoom is kept near the default.
Can I change the colours?
Yes. The wave colours are a list in the config, so a new order, such as all blues to purples with a white finale, is one edit.
Does it need narration?
No. The film is wordless on purpose. A quiet track or a click per pinch is enough.
Sources
HyperFrames on GitHub (Apache-2.0). See the Ball ring style page for the example film.