Use the right and left arrow keys to rotate the cube. If you hold an arrow key for ages, it will take ages to slow down. Use the up and down arrows to twist it. When you twist it, it will start to go spiky. To fix this, you need to make it smoother, although making it too smooth will cause lag. To deal with this problem, simply press space and the smoothness will be optimised so as to make it as smooth as possible without getting too laggy. My first Pen 3D Project! (unless you count my Rubik's Cubes)