Use right/left arrow keys or hold sides of screen to rotate Hope you like If you want you can add more spheres by going into the code and adding their info to the lists but those physics are complicated so it will be tricky to get it to a stable state that you like
math math math 3d graphics are custom but i reused my old stuff some