Mouse to turn the shape. Click the arrows to move between shapes.
I just simplified the code so it could be easily understood. Thanks to Gabrielawesome for the base project!