עברית 📰 Blog
← Back to Blog
AI Video

The Honey Beats: A Bee Band Plays a Real Song, and Every Frame Is Code

Masterphub Editorial
AI News Desk
October 5, 2026

Share this article

The Honey Beats: A Bee Band Plays a Real Song, and Every Frame Is Code
TL;DR: We made a 3-minute music video where a band of bees plays a real song, and every frame is code written by Claude. No video editor, no image generator, no hand animation. Claude analyzed the audio, drew the bees with lines in an HTML canvas, synced every leg and string to the music, and rendered 5,544 frames. Below: the video, how it was built step by step, what failed on the way, and a prompt you can use to make your own.

Watch it first

Watch "The Honey Beats" on YouTube

Where the idea came from

Credit goes to Nimrod Kimchi. He sent us a short where a band of spiders plays a real song, every frame made in code with Claude. We wanted to see if we could do the same with our own music. Bees, blues, a bit of techno.

Step 1: the song came first

The music is "Honey Beats" by stavjadam, a blues track with a steady electronic beat, made in Suno. We picked the song before writing a single line of animation, because the video is driven by the audio. No song, no movement.

Step 2: Claude listened to the song

Claude can't hear, but it can measure. It wrote a short Python script (librosa) that splits the track into 30 slices per second and measures, for each slice:

  • The tempo (120 BPM) and where every beat lands
  • Kick, snare and hi-hat hits
  • How loud the bass, the guitar and the voice are at that moment
  • Where the song changes: intro, verse, chorus, harmonica solo, bridge, outro

Then it ran Whisper on the vocals to get the time of every word, so the lyrics on screen appear exactly when they are sung.

Step 3: drawing a bee with lines

Everything you see is drawn by one JavaScript file on a 1080x1920 canvas. The bee is circles, ellipses and straight lines. Its six legs use inverse kinematics: Claude gives each leg a target (the snare, a guitar string, the mic) and the math bends the knee to reach it.

Each instrument has its own scene and its own color: drums in orange, a resonator guitar in pink, an upright bass in green, a harmonica in blue, vocals in yellow. The song data decides what moves. A snare hit drops a leg on the snare pad. A loud guitar makes the strings shake. A sung word opens the mouth.

The neon glow is a simple trick: draw the lines, then paste a blurred copy on top twice.

Four frames from The Honey Beats: drums, guitar, vocals and harmonica scenes

Step 4: turning code into video

A headless browser (Playwright) opened the page and asked it to draw frame 0, then frame 1, all the way to frame 5,544. Each frame was saved as an image and passed to ffmpeg, which joined them with the song into an MP4. On a small 2-core cloud machine it took about 12 minutes.

What failed first

The first version was a cute cartoon: a full bee band on a stage, with spotlights and a crowd. It worked, but the verdict was "nice, but not impressive". It looked like a children's animation.

The fix was to copy the visual language of the reference, not just the idea: a dark screen, thin glowing lines, a technical overlay (BPM, timecode, track meters, the name of the code file), and one instrument at a time with fast cuts on the beat. Same song, same sync data, completely different result.

The lesson: when you show Claude a reference, ask it to describe the style in detail before it starts building.

Make your own: a starting prompt

I have a song (MP3) and its lyrics. Build a vertical 1080x1920 music video where every frame is drawn in code. 1) Write a Python script that extracts per-frame features at 30fps: beats, kick/snare/hi-hat hits, bass/guitar/vocal energy, and song sections. Use Whisper for word timings. 2) Write one JavaScript canvas file with render(frame) that draws [YOUR CHARACTERS] as neon line art on a dark grid, one instrument per shot, cuts on the beat, and moves every limb from the audio data. 3) Render all frames with headless Chromium and join them with ffmpeg. Show me 5 still frames from different sections before rendering the full video.

More ready-made prompts are in the Masterphub prompt library, and you can find Claude skills that handle parts of this workflow in the skills library.

Credits

  • Idea: Nimrod Kimchi
  • Music: stavjadam ("Honey Beats", made with Suno)
  • Animation, audio analysis and rendering: Claude

Share this article