SA 7. Due: Fri, Oct 6
To practice motion write a sketch in which a ball moves across the canvas with randomly-initialized velocity in x and y set at the start in the range -10 to 10 and with initial color yellow. The ball shall move in a straight line, and when it exits one side of the window (left, right, top, or bottom) it shall reappear on the opposite side. After the ball begins moving you may set the ball color and ball size as you wish, with reasonable limits for the canvas size and not too random, or you may leave its size and color as initialized. The velocity shall be stored in properly-named global variables, so it's clear what they do:
Applet (reload with <cmd>-r or <ctl>-r)
As always, submit in canvas both the link to you sketch and a screenshot of your running program.