ICM Lab Processes 
Function Assignment  

Flower Wall 




All my past assignments have the star shape which is already a function within it. So for this assignment, I wanted to make another graphic using function.


I made a flower using for loops and shapes and used our class notes to make them appear randomly on a random location on canvas in random size and color.





There are function drawFlower and randomFlower. One is to draw the flower on screen and the other is for all the randomness.


Image 1 is the initial stage of the randomFlower drawing. 


mousePressed function was also added for starting and ending the drawing.



https://editor.p5js.org/zw3493/sketches/_Yy_uETM5









Next Page ︎︎︎