This is just proof of concept for gravity in scratch
There is a bug where, after a short time, the tennis balls will suddenly lose all y velocity(actually rapidly oscillate between +/- the last velocity they had. This probably has to do with not getting the positions of the balls on every pixel, or something similar.