Just wondering why in bouncing ball example at the end function loop()
needs to be called, but in Graphics_loops_animation example, calling the function draw()
is not needed at the end?
Bouncing ball example:
“https://github.com/mdn/learning-area/blob/master/javascript/oojs/bouncing-balls/main-finished.js”
Graphics_loops_animation example:
“https://github.com/mdn/learning-area/blob/master/javascript/apis/drawing-graphics/loops_animation/7_canvas_walking_animation.html”