The other day I saw someone (@bartek, perhaps?) tweet a link to the JAM Html5 and Flash contest or event or whatever it is. The theme is to create a visual musical instrument in either HTML5 or Flash. Of course I opted on Flash, created a wonderfl account and crafted the below.
Basically, it uses a bit of webcam motion detection (so, yes, a webcam is required), to swirl around some fluid dynamics and play some bell sounds. The fluid part is ported from some Processing java at this joint. The motion detection is strongly influenced by some example over at the Soulwire blog. And the bell sound bit came from a wee script posted by Keith ‘Bit-101’ Peters. So, really, when it comes down to it, none of it is mine. Sometimes you can get some pretty nice results just by sticking a clock in a radio, though.
Check it out here, or head over to wonderfl to see it and the script in its entirety.
[kml_flashembed publishmethod=”static” fversion=”10.1.0″ movie=”https://blog.onebyonedesign.com/wp-content/uploads/2010/10/mfs.swf” width=”465″ height=”465″ targetclass=”flashmovie”]