This is such a bizarre, unique little project that I had to post it. The sound in the video is really quiet, so turn your speakers up.
Each point on the clothe is responsible for one sine wave instrument. It’s position and movement cause the pitch of that particular instrument to change. The counter at the bottom is how many xmlHttpRequests have been sent. The cloth demo was stolen from http://js1k.com/demo/434 and http://www.andrew-hoyer.com/experiments/cloth Source code: http://github.com/abramhindle/mongrel2-musical-relay.