After learning about Theremins, as well as playing with Theremini on my Palm Pilot, I wanted to create something similar, and this was the result. It outputs midi notes and volumes, based on mouse position and button presses.
It relied heavily on the PortMidi project from CMU, as well as LibSDL.