week5 popped flower function
This week, I made popped flower using function. I found it quite complicated for me to understand how function work. At first , I tried to rotate flower and zigzag move it up toward the edge of the sketch but I can't make it because I use translate function to position the flower. Then, I changed to position by calculating the x and y point but at this time I can not rotate the flower.
Second attempt, I try to make the flowers bounce with the edge of the sketch. but I can not do it in function but the same code work outside the function(don't know why).