Demo project for simple interactive linear algebra

Change the tip or base of vector v or vector w by dragging the endpoint within the xy-plane. The result vector will be recomputed based on the current mode ADD, SUB, or CROSS.

In CROSS mode, the result vector is parallel to the z-axis. Change camera mode to "Projection" to get a 3D view.

Drag two vectors and perform an operation.

 

View source code:
PaLinear.java of applet,
PjLinear.java of project,
PjLinear_IP.java of project panel.