Graphic JavaScript

Double Assignment
Back to index
ASSIGNMENT PART ONE:


Extend the Bouncing Ball assignment so that the ball continues to bounce forever. When it hits a wall it bounces away from the wall at an angle proportional to the angle at which it traveled towards the wall.
ASSIGNMENT PART TWO:


Extend the Circular Path assignment so that a ball travels in a figure eight pattern. There are a couple ways to do this: two adjacent circles or two half circles with connecting paths which cross.