This is a quick little experiment that generates "music" in realtime. Particles are attracted to eachother, using a simple gravity system. When two particles collide, a note is played—with the frequency being based on how far the particle is from the center of the canvas.