Rotating rectangles