Alyssa Seosankar – Prof. Higgins – HW 1.2 Part 2 – Due 02/05/13

//Alyssa Seosankar – Prof. Higgins – HW 1.2 Part 2 – Due 02/05/13
//Setting the window size with no borders
size(400, 400);
noStroke();
//Drawing and filling 1st rectangle in top left corner
fill(255, 0, 0);
rect(0, 0, 200, 200);
//Drawing and filling 2nd rectangle in top right corner
fill(0, 255, 0);
rect(200, 0, 200, 200);
//Drawing and filling 3rd rectangle in bottom left corner
fill(0, 0, 255);
rect(0, 200, 200, 200);
//Drawing and filling 4th rectangle in bottom right corner
fill(144, 143, 143);
rect(200, 200, 200, 200);
//Drawing a transparent circle and its outline in the middle of all 4 rectangles
fill(255, 255, 255, 180);
stroke(0, 0, 0);
strokeWeight(3);
ellipse(200, 200, 110, 110);

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

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