A painter program to draw simply, blocky trees
- Draw a background which includes sky and grass in setup()
- Draw a tree without any leaves in setup()
- On a left click, the program should draw randomly colored leaves near the cursor. Their position should vary a bit from the location (randomly) and their size should be random within a set range.
- On a right click, the program should “erase” an area of the screen by drawing a shape that is colored the same as the background. This eraser should be a set size.
- Finally, your program should *only* allow a user to erase or draw if it is near the middle of the screen. Thus it should not be able to erase the grass, nor draw leaves on the edges of the screen.
- It is still possible to “erase” the trunk.
SAMPLE END OF UNIT QUIZ