Work on in class, and deadline is October 1 by midnight. You can only submit the assignment if you are in class on On Sept 28.


Assignment Description: Use some form of iteration to create an aesthetically pleasing pattern. In addition, you will place an overlay over your pattern when the user clicks on the canvas.


Based on what you have learned about looping, you are to create a pattern that incorporates at least 3 primitive shapes. I will demonstrate a few at beginning of class and share even more screenshots of my examples in a PowerPoint file. However, greater creativity might come if you were to do a quick Google image search for “geometric patterns”.

Then recalling what you learned about Boolean variables in Chapter 5, section 6, starting on page 79, program your sketch so that when the user clicks on it, an additional overlay will appear on top of your pattern. (See exercise 5-8.) 


Here is mine before and after mouse click.