More
See all Show me
6. Disco Maths 1
11 months ago
3. Audio Reactive 2
2 years 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

37 Likes

  • Chris Randall 2 years 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 2 years 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 2 years 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 2 years 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 2 years 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 1 year ago
    like the contrast between
    how it looks and
    how it feels (sound).
  •  
  • felixturner 1 year ago
    lovely. how do you get your quads to glow like that?
  • Stefan Goodchild 1 year 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.

Advertisement

1 Related collections

Statistics

  •  
    plays
    likes
    comments
  • Total
    plays 1,365
    likes 37
    comments 9
  • Dec 24th
    plays 0
    likes 0
    comments 0
  • Dec 23rd
    plays 2
    likes 0
    comments 0
  • Dec 22nd
    plays 0
    likes 0
    comments 0
  • Dec 21st
    plays 0
    likes 0
    comments 0
  • Dec 20th
    plays 1
    likes 0
    comments 0
  • Dec 19th
    plays 1
    likes 0
    comments 0
  • Dec 18th
    plays 2
    likes 0
    comments 0
  • Dec 17th
    plays 3
    likes 0
    comments 0
Previous Week

Downloads

Please join Vimeo or log in to download the original file. It only takes a few seconds.