Challenge: Magnitude visualizer

Visualize vector magnitude with labels and colours



Display the magnitude

Hint

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.