top of page
  • yz7720

Using functions() to create eternity!


This week I tried to keep my setup() and draw() as clean as possible. But somehow failed... I have in total created and used 4 functions, which is a success. But when it comes to the function for drawing the rectangles, I tried to use a for() loop to create multiple sets of rectangles, but cannot make it work. Because I have already used recursion to create the gradual changing size rectangles...



For next week, I will keep on exploring how to use the drawrect() function multiple times in a clean way!






5 views0 comments

Recent Posts

See All

Comments


Post: Blog2_Post
bottom of page