Press the green flag and watch
I've seen other projects like this so I decided to make my own, I used basic trigonometry.