NOC week 9: ripples —— Skye Gao

Link: https://editor.p5js.org/Skye/sketches/u0QRQ2n1m

For this week’s assignment, I utilized the concept of particle systems and created a simulation of ripples. According to one falling drop, there would be generated with constant  ellipse which shows the effect of ripples. I met much difficulties when trying to create peploses with a certain time period. As the for loop for particles is constantly generating objects, if I just simple set the color of ellipse to change, it would either create a disk by ellipse with gradually changed opacity, or it would disappear really quickly. After several trial and failure, I figured out that one way to show the regular pattern of ripple is to only display the ellipse with a certain interval. And the outcome looks like this:

There is still much room for me to explore with this sketch, as for this assignment I did not figure out how to let the ripple die out after some time while it is constantly generated. Also, I would like to further explore the particle system concept by creating multiple ripples and having a scene of rain dropping on the water.

Leave a Reply