Vectors
Adding up the arrows…
Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Vectors
Adding up the arrows…
Add by walking tip to tail, scale by stretching along a line through the origin, and subtract by adding the opposite. Every rule is a picture first and arithmetic second.
Two vectors: a = (3, 1) in amber and b = (1, 2) in purple, both drawn from the origin. What should a + b mean?
The result appears once the tour reaches it.
Each component is handled on its own: x with x, y with y. That is why the picture rules and the arithmetic always agree.