Programming for Interactive Digital Arts
CS 2, Fall 2023

SA 10. Due: Mon, Oct 23

For more practice with objects and arrays, modify the "sparkler" sketch shown in class (example 2). Change the behavior of the particles objects so that they simulate snow falling down. Particles are generated randomly at top with a small velocity going down and a low gravity. While this requires just a few small modifications to the class example, make sure you understand how the whole thing works. Or feel free to create your own new particle system that simulates things like rain or snow particles in the wind.

Applet

As always, turn in the p5js sketch as text and also a screenshot of your running program.