Just a bouncy ball, thought I would experiment *** If there's an easier way to program this, PLEASE LET ME KNOW *** I feel like I did it the hard way I tried to come up with some kind of variable based on how many times the ball bounced but it didn't even work for all positive coordinates (probably because it involved exponents and exponential decay) :(
All code by me :)