Rotate the box by pressing left and right arrow keys. Use up and down keys to get the object closer or further. Press SPACE to initiate animation of several rotations and distance changes.
math, geometry