Click either on or on B to change the addends; click again to stop the movement.
The area of the rectangle represents the absolute value of the dot product; the color of the rectangle is blue if the product is positive, red if negative.