Arrow keys to rotate the cube. The checkbox toggles transparency.
The gaps in the sides are probably because of how scratch handles rotation, and the fact that the sides are one pixel thin. By the way, the bottom side is red.