Graphic JavaScript


Back to index
Circular Path

Your browser does not support the HTML5 canvas tag.

ASSIGNMENT:

Add a second ball to this applet, but have each ball travel back and forth along a half circle path. One will appear to bounce from top to bottom along the right side of the circle and the other will bounce from top to bottom along the left side of the circle. Have them travel at different speeds.