This is one of the activities that I did when taking a Processing JS class on Khan Academy. In this project I learned how to write a program that would detect if the balls were at the side of the screen and if they were the program would automatically bounce the balls the other way. I found this really interesting because it explained some of the mechanics that old video games used such as Pong or Breakout.