For week 6 recitation, I developed a sketch based on the Object-Oriented Programming concept. I had an idea of creating a rainy and foggy picture.
First, I tried to create the clouds.

First, I defined the cloud using “let particles”. Here, the word must be in plural form and the first letter shouldn’t be capitalized. In setup, I created a loop to create 1000 circles as to make it spread across the canvas to look like heavy clouds. After this, I went to the drawing part of the code to display the particles. This part can be changed into lots of other features based on how you want to manipulate the shapes.
Finally, I planned how every ellipse looked like using “class”. A thing to keep in mind would be using the single form after class and capitalizing the first letter.
Now I finished with the clouds part and moved on to drawing the rain.
![]()
In the setup section, I created another loop to make 2000 raindrops.

In “class Raindrop”, I used three ways of conducting the raindrops. They were display, move and fall. By adding these three generating ways, I could make the raindrops look like they are falling.
Finally, I finished with my work. It looked like this!
