Tested tool guide
Tested browser tools
Checked August 16, 2026
What 2D Vector Visualizer does, with a checked example
Plot two vectors as arrows on a 2D grid and read off every standard result at once: the sum and difference, scalar multiples, the dot product, the cross product, the projection of one vector onto the other, and the angle between them. Edit any component and the drawing and the numbers update together. Two things catch people out. In 2D the cross product is a signed scalar, not a vector: its magnitude is the parallelogram area, and its sign tells which way the second vector turns from the first. And the reported angle is the smaller angle, 0 to 180 degrees, never the directed rotation.
Worked example
A concrete input and expected output from the current implementation.
Input
u = (3, 4) and v = (5, 2)
->
Expected output
u + v = (8, 6); u - v = (-2, 2); 2u = (6, 8); u . v = 23; u x v = -14; |u| = 5; |v| = 5.39; projection of v onto u = (2.76, 3.68); angle between u and v = 31.3 degrees
The dot product is 3(5) + 4(2) = 23 and the 2D cross product is 3(2) - 4(5) = -14, negative because v lies clockwise from u (u points at 53.1 degrees, v at 21.8 degrees). The angle follows from cos(angle) = 23 / (5 x 5.39) = 0.854, which gives 31.3 degrees.