this is an animation of a bouncing red ball.

first, in order for the circle to show up on screen, i added a string of code which would display the circle, which including its different x and y properties. then, i added different if statements which changed the balls' direction depending on its x and y positions.