Nafis Sabir HW 1.2 Part 2

/*NAFIS SABIR

PROFESSOR CALLI HIGGINS
02/04/2013
HOMEWORK 1.2*/
size(400, 400);//window size
rectMode(RADIUS);//top left rect position
fill(255,0,0);//top left rect red color
rect(100, 100, 100, 100);//top left rect size
rectMode(RADIUS);//top right rect position
fill(0,255,0);//top right rect green color
rect(300, 100, 100, 100);//top right rect size
rectMode(RADIUS);//bottom left rect position
fill(0,0,255);//bottom left rect blue color
rect(100, 300, 100, 100);//bottom left rect size
rectMode(RADIUS);//bottom right rect position
fill(120);//bottom right rect gray color
rect(300, 300, 100, 100);//bottom right rect size
fill(255,255,255,200);//circle color and opacity
strokeWeight(4);//circle border weight
stroke(1);//circle border thickness
ellipse(200, 200, 100, 100);//circle size

This entry was posted in Uncategorized. Bookmark the permalink.

One Response to Nafis Sabir HW 1.2 Part 2

  1. Hi Nafis,

    I don’t see the code from assignment 1.3 (make your own drawing with simple shapes). Can you post that too to receive full credit?

    – Calli

Leave a Reply

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