A projection onto a line through the origin in 2-space transforms
each vector into its shadow along the line, produced by a light source perpendicular
to the line. Drag the head of the blue vector to see its projection onto
the line.
Projection onto the x-axis
Projection onto the y-axis
Projection onto a general line through the origin
making an angle θ with the positive x-axis