Drag the shapes around to see how they collide with each other.
Dragging with left button moves the shape, clicking and holding with right button rotates shape.

Code