//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);
-
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