size(400,400);//How big the display window is as well as the amount of pixels being used.
fill(255, 0, 0);//Color of the square in the top left corner.
rect(90, 80, 55, 55);//square in the top left corner.
fill(0, 252, 39);//Color of the square in the top right corner.
rect(145, 80, 55, 55);//Square in the top right corner.
fill(0, 6, 252);//Color of the square in the bottom left corner.
rect(90, 135, 55, 55);//Square in the bottom left corner.
fill(103, 103, 103);//Color of the square in the bottom right corner.
rect(145, 135, 55, 55);//Square in the bottom right corner.
fill(255, 255, 255);//Color of the circle in the center.
stroke(0, 0, 0);//The outside color of the circle
ellipse(145, 135, 55, 55);//The center shape.
-
Recent Posts
Recent Comments
- Danielle Small on Final Blog Post
- Calli Higgins on Homework 10.2
- Calli Higgins on Homework 10.2
- Calli Higgins on Homework 10.2
- Calli Higgins on Nafis Sabir HW 10.2
Archives
Categories
Meta
Hi Matthew,
You have the basic idea right but the drawing should take up the whole 400 x 400 window, not just a section of it. You are also missing the alpha from the fill for the center circle.
– Calli