Camera mode: controlled by w (up), a (left), s (down), d (right), and you can rotate the camera with f.
Ball mode: ALT + a to activate. This allows you to control the ball's x and z movement with the arrow keys. You can move up by pressing c. Hitting ALT + c turns on gravity, but there is a bug where you cannot move with the arrow keys or else your ball matrix will go off the game scene.
Hamster pan mode: ALT + x to activate. Pans the camera on the hamster.