More
See all Show me
3. Audio Reactive 2
8 months ago
Full glowy mess this time to ease the flatness of No.1 but not quite as connected to the music somehow.

The middle 3d disco spirograph thing was a result of failing to work out how to draw a section of a Great Circle correctly, but it looks fun. Kinda like a sci-fi Cat's Cradle.

Obvious props to the man like Flight404 for his additive blending know how and to the Traer.physics library for making my life easy with particles.

Music is my remix of 'The Warning' by Nine Inch Nails taken from the album Y34RZ3R0R3M1X3D and features the Senegalese master drummer Doudou N'Diaye Rose
Credits
Tags
22 Likes
  • Chris Randall 8 months ago
    Perhaps use the low-end to drive camera FOV instead of (or in addition to) the size of the circle. This would make the particles jump to the music as well, and give a more direct result.

    Then again, wtf do I know. ;-) This looks fantastic!
  • Stefan Goodchild 8 months ago
    Cheers Chris,

    Good idea with the Camera being shaken by the bass. I'm also thinking about adding some perlin noise to the camera position to give it more of a 'handheld' feel.
  •  
  • Chris Randall 8 months ago
    For what it's worth, after some trial and error, I just used the code from the FOV bit in the manual, altered a bit for audio purposes. Assuming you're using ESS for the FFT, here's the bit:

    float cameraY = height/2;
    float fov = (1 - (oct.peaks[3]/3)) * PI/3;
    float cameraZ = cameraY / tan(fov / 2.0);
    float aspect = width/height;
    perspective(fov, 1.7777, cameraZ/10.0, cameraZ*10);

    There's probably a sexier way to do that math, but I'm a musician, not a math whiz. (Irony of that statement is perfectly clear to me, thanks.) Of course, the aspect ratio (the 1.777 value) is correct for HD material, but will need to be adjusted to width/height for any other project.

    Easy enough to add noise to that, and not a bad idea at all, although some serious trial and error will come in to play.

    -CR
  • Stefan Goodchild 8 months ago
    Cheers Chris.

    I'm working on some improvements to my camera class, including turning it into a proper class!

    I'll be sure to use the above in it along with a few other bits and I'll be putting the class on my blog when it's done for others to use.
  •  
  • mb09 8 months ago
    woah very very nice
  •  
  • yea, i'd say try to get closer to a "handheld" look. everything else is so perfectly mechanical that i think a little human into this mix would work just well. Great going, mate.
  •  
  • designakt 22 days ago
    like the contrast between
    how it looks and
    how it feels (sound).
  •  
  • felixturner 11 days ago
    lovely. how do you get your quads to glow like that?
  • Stefan Goodchild 10 days ago
    I just used a texture on the quad. Just a white bar with some blur on it. Additive Blending did the rest :-)
  •  
This conversation is missing your voice. Take five seconds to join Vimeo or log in.