NOC Week 2

Link: https://editor.p5js.org/DianaXu/sketches/UYeV01fXb

This week, I tried quadraticVertex function to create different shapes and used OOP to draw the shape. 

Display Function: draw the polygons in a for loop

Shape Function: Change the scale of the polygons

Fall Function: Give polygons speed to fall

ColorChange Function: Gradually darken the color of the polygons.

Leave a Reply