Preston Decker's 12th CS151 Homework Preston Decker's 12th CS151 Homework
2. So obviously this menu has some problems. What can be done on it is to draw multiple selected circles, lines and rectangles of different colors in the window. Lsystem trees can be drawn, but only by themselves in a popup window. The crayoned tree is the only object that may be drawn in crayon. After drawing the tree, if one wishes to close the tree window, the menu window will also close. The code from these trees comes from other projects.
3. The loop in main consists of a while not Done loop. Within the loop, each mouse click within the selection box rectangle is given a value of 1, as assigned from menu.py. Each object has a 'y' place value, descending from 0, within the v[1] list. Therefore, a click on circle, which is third within the v1 list is given the value 2 which corresponds to a circle shape being drawn as determined by the 2 elif function.

5. Below is the image drawn by someone not in our class. I had to tell them to look at the instructions. After that, it turns out my instructions were wrong and you need to click menu twice to open up the shapes rectangle. They expressed hesistancy after selecting circle, but eventually read the instructions and figured out how to draw the circle. After that I had to tell them that you can keep selecting shapes.
Thanks to classmates,TAs and Professor Maxwell of whom helped me a great deal on this project.