Challenge: Magnitude visualizer

Visualize vector magnitude with labels and colours

Display the magnitude


var = ; text(, , );

This program draws a vector to represent the position of the mouse relative to the top left corner. Use the
text command to display the magnitude of that vector at the end of it.