This might make it difficult to draw multiple balls on the canvas, which is what I think for step 3. 
Things I have in mind:
var num = 10;
var canvas;
 for (var i=0;i<= num;i++) {
   ball = boundBallInit(color, radius, x, y);
   drawBall(ball, canvas);
}