spacebar to generate the triangles arrow keys to view the different triangles c to increase the range of triangles generated DON'T PRESS ARROW KEYS WHILE GENERATING!!! it will screw generation up!