Make visuals that move with your music
Press Play below. A Strudel pattern starts, and every kick swells the shape, every clap shifts its colour and every hat ripples its edge. The picture and the beat come from two lines of text, side by side, and you can change either one while it plays.
The picture runs on Hydra, the video synth Olivia Jack made for live coding, the one projected behind the music at algoraves. Vibes DIY now knows it well, so you can ask for live visuals the way you would describe them to a friend and get an app that plays them. If you make music with Strudel, this is its other half. Open Beat Visuals full screen to play it on a bigger screen.
A moving picture is one line long
A Hydra sketch is a short chain of functions. Start with a source, bend it, colour it, send it out:
jsosc(8, 0.1, 1.2).kaleid(5).rotate(() => time * 0.1).out()
That line is a full-screen kaleidoscope, drawn by your graphics card. Change a number, press Run, and the new picture takes over. A typo shows a short note beside the editor while the last good picture keeps playing, so you can take risks mid-set.
Get posts like this in your inbox
One email field. Real updates. No algorithm required.
We asked Vibes DIY for "a live coding visuals page where I type Hydra sketches, see them full screen, and keep the ones I like", and it came back as Sketch Pad. It has five starter sketches to tap, including sound bloom, which breathes with whatever is playing near you once you press Listen to the room, and a box where you describe a change in words ("slower, and purple") and get the sketch rewritten. Sketches you keep are a few lines of text, so a gallery of them loads in a blink and anyone can remix one.
The beat drives the picture
In Beat Visuals, every sound the Strudel pattern plays sends a number to the sketch. The kick goes to a.fft[0], snares and claps to a.fft[1], hats to a.fft[2] and notes to a.fft[3], and each one fades out between hits. So the sketch from the top of this post reads like a lighting cue sheet:
jsshape(4, () => 0.15 + a.fft[0] * 0.35, 0.02) // the kick sets the size
.color(1, 0.3, () => 0.5 + a.fft[1] * 0.5) // the clap pushes the blue
.rotate(() => time * 0.2)
.modulate(noise(3), () => a.fft[2] * 0.15) // the hats wobble the edge
.out()
Because the numbers come straight from the pattern, the picture follows the beat itself, with no microphone needed. Tap tunnel break or acid voronoi to load a different pattern and sketch together, edit both, and press Update. The Keep this set box saves the pair under a name, so your crew can open it and play it too.
Knobs, and your camera
Not everyone wants to type. We asked for "a video synth with knobs for mirror, warp, trails and spin that can use my camera as the source", and got Video Synth. Each knob is a number in a sketch, and the sketch the knobs wrote sits right below them, so you learn the language by watching it change. Press Use my camera and you are the picture, mirrored into a kaleidoscope and smeared into feedback trails. Hand your phone to a friend and see what they make of it.
Prompts to start from
Copy one into Vibes DIY and change the details to suit your set:
- "VJ visuals for my set that move with the music in the room, with a big full screen button"
- "A Strudel drum machine with a Hydra sketch behind it, where the kick makes the picture pulse"
- "A camera photo booth that runs me through a Hydra kaleidoscope and saves a snapshot"
- "A gallery where my friends post Hydra sketches and anyone can remix one"
Credit where it's due
Hydra is free software by Olivia Jack and its community, under the AGPL. Your app loads the published engine as it is from a pinned public address when it starts, the same way the Strudel apps load Strudel, rather than copying Hydra into the app. Every app we build credits Hydra with a visible link. Developers can read the whole recipe in the Hydra reference, and the live visuals guide has more ways to ask.
Bring visuals to your next set
Describe the picture in a sentence. Remix it from there.
Start building →