Color Dots

I expanded my previous color-changing bouncing ball project to generate a matrix of randomly changing dots that expand based on the location of the user’s mouse. I used a nested loop to generate the dots, with the outer loop drawing the dots horizontally across the screen based on mouseX and the inner loop drawing the dots on the screen based on mouseY.

Try it yourself | Github

Final Project Proposal

Leave a Reply