I worked on a code in p5js where white confetti particles follow your mouse as they go outwards.
I was trying to find out how much you could code in p5js, find the max amount of code you could put in.
I started off with making the part that makes a particle follow your mouse, then designing the confetti particles.
I found out that the maximum amount of code you can put it was over 1000 lines of code, but i only could do around 800 because the script started to lag.
My results matter to know when you should stop adding enough code, so your project doesn't lag.
I could make my project better by trying to reach 1000 lines of code to see what would really happen.
Mr Herron helped me with this experiment.
I love seeing art and coding projects! You make an interesting observation about the number of lines of code before the system starts to lag. It would be interesting to see various versions of your projects beyond the single image to see the differences.