Click and mouse move events in canvas to manage controls
Angle calculation does not work, probably because I'm asleep