Animation

code: https://editor.p5js.org/ml6458@nyu.edu/sketches/H1bxKfeY7

For the animation, I wanted to create something like raining. The challenge for me is to create multiple triangles without hardcoding all of them. While I was thinking about this, Yen walked by and told me about using class, so I looked up Shiffman’s tutorial in class and array. That helped me a lot to figure out the code.