2D Projection of vector u onto vector v

This applet aims to demonstrate visually the projection of a vector u onto a vector v. The bolded line is the result of that projection. The notion can be likened to having a light source perpendicular to v, in which proj_u(v) can be seen as the shadow of u casted onto v.