Summary
Here the ball change color every time it bounces off the edges. Here's my code: https://editor.p5js.org/haichau2k/full/bFNLPTOdL

Multimedia Programming I
Here the ball change color every time it bounces off the edges. Here's my code: https://editor.p5js.org/haichau2k/full/bFNLPTOdL