12-Tone Matrix Generator

I should have been working on music, but I made this instead. Click on the piano keys to add notes, and when all twelve are known, the matrix will appear below. There are also buttons for 'Undo' (back up one click) and 'Reset' (start over.)

Why? It's for making 12-tone compositions.

C
 
D
 
E
F
 
G
 
A
 
B