This is some random thing that I made but I think it is cool. You may have to wait for one second for the speed to change. The ball variable called delay (the slider thing) is the time it takes the ball to move to a random position. At the start it is set to 0.5.
Made this all by myself.