Programming with Java Course
Assignment Schedule
|
Feb 18 |
Assignment 5 due. |
|
Feb 25 |
Assignment 6 due. |
|
Mar 4 |
Assignment 7 due. |
|
Mar 20 |
Assignment 8 due. |
|
Apr 1 |
Assignment 9 due. |
|
Apr 8 |
Assignment 10 due. |
|
Apr 15 |
Assignment 11 due. |
|
Apr 24 |
Assignment 12 due. |
Assignment 5
Create a sketch that uses loops to make a drawing that looks exactly like this:
There are 12 rectangles stacked vertically. There are 7 circles nested inside each other.
· The window must be 800x400.
· Colors must be grayscale.
· Window color background must be 255.
· Rectangles must have a fill color of 128.
· Outer circle must have a fill color of 220.
· Inner circle must have a fill color of 40.
Evaluation
90 points possible.
· Code is properly formatted. (10 points)
· 12 rectangles, drawing uses a loop. (15 points)
· position / spacing of rectangles is accurate. (15 points)
· stroke / fill of rectangles is accurate. (10 points)
· 7 circles, drawing uses a loop. (15 points)
· position/ spacing / scale of rectangles is accurate. (15 points)
· stroke / fill of circles is accurate. (10 points)