Press LEFT arrow key to rotate the cube to the left, use the RIGHT arrow key to rotate the cube to the right, use the UP arrow key to rotate the cube upwards and last of all use the DOWN arrow key to rotate the cube downwards. Hope you like it! :D -------------------------------------------------------------------------
Thanks @Skyrax for the code to the 3D cube! :D ----------------------------------------------------------------------------