Click the flag to choose another axis to rotate around.
This took a surprisingly short amount of time. like 2 hours. all code by me