I made my bouncing ball to replicate the bouncing DVD Logo from old DVD Players that became a meme. The Logo always bounced diagonally and changed to a random color every time it hit a wall. My bouncing ball does the same.
https://editor.p5js.org/rlozada1/sketches/A8CajXUre