
The tennis ball is gravitationally pulled toward the mouse pointer! You can also erase the orbit that's been traced out in pen by pressing space, and it'll bounce off of the edge of the stage to avoid it getting too far away to use.
There's this calculational technique I came across on the internet that one can use to make simulations way more accurate without much more computational power, and I just wanted to showcase it :)