Happy Coding

Bouncing Balls

Note: This example uses parallel arrays. In other words, we’re storing our data across multiple arrays. This is a good way to learn about arrays, but in real life you should use classes instead of parrallel arrays. If you haven’t learned about classes yet, don’t worry about it too much.

This is a companion discussion topic for the original entry at https://happycoding.io/examples/processing/input/bouncing-balls