Bouncing off the bottom is similar to bouncing off the right hand side, because the canvas x-positions increase to the right, and the
y-positions increase going down.
So we need to compare the bottom of the ball (given by its y-position plus its height) to the bottom of the canvas (given by its height). And we reverse the y-velocity.
if (this.y + this.MyImg.height > myCanvas.height) {this.velocity_y= -this.velocity_y};