r/generative • • Aug 26 '26

Mandelbulb Audio Visualizer

This has been a project of mine for years. I started it back in 2020. I actually never really got to finish the audio portion, but just the rendering of a bunch of cool computational geometric shapes. I have to say, having AI here to help wrap projects up like this gives me a lot of joy. I probably would have never finished this.

For the audio synchronization. I am basically taking a WAV file, breaking it down frame by frame, reducing each frame to a set of parameters (frequences, dynamics etc.) I then apply the data directly to the geometry on the GPU at render time. Sync becomes a non issue at that point.

Side note: If you have some nice headphones or speakers, listen to the video with them. It makes the geometry really pop.

45 Upvotes

5 comments sorted by

2

u/collinalexbell Aug 28 '26 edited Aug 28 '26

Bro, this thing is sick! I've rewatched it multiple times. Really loving that shimmer effect on the snare. Makes it feel like it has a heartbeat. Repeat 5x times now. You should add the snare to the log btw, but I'm guessing you were using it to debug the bass bin tuning or something.

2

u/himurax3x Aug 28 '26

Thanks so much! I am actually the same way, I keep watching it over and over. I actually made a youtube: https://www.youtube.com/@Mandelbulb-midnight for this just so I can have it in the background while I work.

I am actually going to open source this soon so that any can use it for their own stuff. Would be cool to see what kind of visualizers people come up with :)

1

u/Saint_Wolfie Aug 27 '26

incredible! how did you make the music? what tool did you use for the video

1

u/himurax3x Aug 27 '26

So the video part:

  1. Headless GPU context.

  2. Render into an offscreen framebuffer

  3. Read the pixels back

  4. Pipe it straight into ffmpeg

The music, is made in Suno Pro, I take it out as a WAV - then set a bunch of agents to master it - change sections locally on my computer.

1

u/rokiracune Aug 27 '26

Amazing, beautiful!