code: https://editor.p5js.org/ys4136/sketches/NOw4a6WMq
This is the fish generator that I created. A fish will be generated each time people press the mouse. Throughout this project, I learned that the order among commands is very important, and subtle differences in the code will make the entire code does things that are completely different.
This project also helped me to get to know loop functions and functions that run once only better.