To rotate the pyramid, use the arrow keys To scale it, press the S button, then input scale values in the command line To translate, press the T button, then input translation values in the command line To change the center of rotation, then input the center point in the command line
The pyramid can be swapped out for different shapes by modifying the points in vertex, and changing the number of vertices listed on lines 213 and 240