This is a Processing sketch which attempts to roughly replicate ToneMatrix. Thanks to André Michelle.
Usage: On the first run you need to check the debugging output to identify your MIDI devices. Change line 10 (piano = new MidiBus(this, 0, 1); in setup()) so that the second and third arguments to the MidiBus function are correct. Triggers are positioned by clicking anywhere on the grid.
Link: droplets.pde
Requirements: themidibus
Screenshot: