Matthew Soto HW: 1.2 part 2

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.

This entry was posted in Uncategorized. Bookmark the permalink.

One Response to Matthew Soto HW: 1.2 part 2

  1. 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

Leave a Reply

Your email address will not be published. Required fields are marked *