So after all the reading and research of Processing and realising that I couldn’t find any idea on how to make it, I stumbled upon a work called Colour Aquarium by Matthijs Munnik ( http://vimeo.com/3661868 )
his work was similar to what i was trying to accomplish with my work. So i managed to find his email address on his portfolio website and I contacted him to ask him questions about his piece and if he could give me some advice.
Here is the email trail:
Hi Matthijs,
My name is May. I saw your colour aquarium and was interested to know how you created that?
sorry to be sending you random emails. i’m basically an MA student and i’ve just learnt Processing but what i’m trying to make is beyond any info that i can find in books.
basically what i want to make is similar to your colour aquarium. i want lots of dots to float around on the screen and each dot has a different musical instrument sample attached to it. when the user stands in front of the screen, when their shadow “hits” a certain dot, the music of that dot will play.
so simply put, the body of the user is the composer of the music.
but my deadline for the MA project is in 2 weeks and i’m still struggling to find any info on webcam interaction with Processing. everything uses mouse ![]()
please can you help me?! any info on what libraries etc. to use would be really really appreciated
Here is his response:
Hey,
- Load the video pixels and read trough them, see the brightness tracking example in you processing folder.
- Create some OOP code for bouncing or floating balls, look here: http://p5.chronotext.org/tutorials/motion_oop/
- Check if pixel X Y in the video data is black, (there’s a person there)
- if so then see if there is a ball floating at that point
- if so then play the sound file of that ball, look into Sonia library for that
[...] http://visuallythinkingsemiotics.wordpress.com/2010/07/04/1w922w42-matthijs-munnik/ [...]