Forums > Javascript

Particle momentum controlled by cursor position

March 3, 2014 | 1:16 pm

Hey, I’m new to Max MSP and know some very basic javascript but it’s definitely not advanced enough to help me with what I need to do, so I was wondering if someone on here could help!
There’s something very specific that I’m trying to achieve: I would like to create a particle system where the speed of the particles increase and decrease in speed and movement becomes more random depending on the cursor’s proximity to a specific xy co-ordinate on the screen, so that when the cursor moves towards the co-ordinate the particles slow down enough to reveal an image or shape. I have uploaded a gif to illustrate what I mean:http://i93.photobucket.com/albums/l80/aislingskyec/OBSERVED-PARTICLE-WALKTHROUGH_zpsd692c819.gif
I guess what I’m trying to make is essentially the reverse of this Google doodle:http://rawkes.com/lab/google-balls-logo/ but in Max MSP rather than with HTML5.
Can anybody point me in the right direction? Would be very much appreciated!
Thanks!


Viewing 1 post (of 1 total)