Drag the ball or use the arrow keys.
I added spinning, so it looks ULTRA-REAL!
For any people wondering the algorithms used in this project:
The x and y values of the ball change separately. This simplified calculation allows for simplified interactions, such as arrow keys or dragging. I could have used cuboid interpolation but it was too complicated.