Drawing a keyboard with scalable size and correct positions of the black keys

Often people think that the black keys are centered to the white keys.
Even in piano teaching books keyboards are drawn this way.
Black keys are positioned surprisingly excentric, though.
Creating keyboard diagrams with chords or scales inspired me to draw a keyboard with following features:
- scalable
- correct positioning of the black keys
- entering of notes which are represented by dots