homework week 2 1.1

Posted in Uncategorized | 2 Comments

Homework 2.1 Reno Abraham

Part 2

http://www.openprocessing.org/sketch/88475

part 3

http://www.openprocessing.org/sketch/88500

Posted in Uncategorized | Leave a comment

HW 2.1 part 2 and 3

Openprocessing doesn’t want to upload my work for so here are the screen shots of them

//fix the 15 errors

void setup(){
size(200,200);
}

void draw(){
background(0);
fill(255,255);
ellipse(100,100,100,100);
line(100,100,150,150);
rect(mouseX, mouseY, 50,50);
}

Here is the code for part 3

void setup() {
size(600, 400);
}

void draw(){
rectMode(CORNER);
background(255);//white
fill(0, 0, 255);//blue
rect(0, 0, 280, 180);//upperleft
rect(320, 220, 280, 180);//bottomright
fill(255, 0, 0);//red
rect(320, 0, 280, 180);//upperright
rect(0, 220, 280, 180);//bottomleft

 
strokeWeight(4);//outline thickness
stroke(255);//oultine color
fill(230, 0, 0);//car color
rectMode(CENTER);
rect(mouseX,mouseY, 200, 50);//car body
fill(0);//black
rect(mouseX-85,mouseY+50, 20, 48);//left wheel
rect(mouseX+85,mouseY+50, 20, 48);//right wheel
fill(230, 0, 0);//red
quad(mouseX-85, mouseY-25,mouseX-65,mouseY-75,mouseX+65,mouseY-75,mouseX+85,mouseY-25);//car top
noStroke();//no outline
fill(44, 255, 250);//blue
quad(mouseX-70,mouseY-35,mouseX-60,mouseY-65,mouseX+60,mouseY-65,mouseX+70,mouseY-35);//car window
fill(246, 255, 0);//light’s color
ellipse(mouseX-75,mouseY, 35, 35);//left light
ellipse(mouseX+75, mouseY, 35, 35);//right light
fill(255, 230, 0);//yellow
triangle(mouseX-20,mouseY+15,mouseX-10 , mouseY, mouseX,mouseY+15);//W
triangle(mouseX,mouseY+15, mouseX+10, mouseY, mouseX+20,mouseY+15);//C
triangle(mouseX-10,mouseY,mouseX,mouseY-15,mouseX+10,mouseY);//P
}

Posted in Uncategorized | 1 Comment

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

//Alyssa Seosankar – Prof. Higgins – HW 1.2 Part 3 – Due 02/05/13
//Setting the window size
size(500, 400);
//Setting background color
background(0, 0, 0);
//Drawing head of creeper
fill(0, 0, 0);
stroke(249, 255, 9);
strokeWeight(8);
ellipse(390, 400, 200, 200);
//Drawing left eye of creeper
fill(255, 255, 255);
stroke(255, 9, 9);
strokeWeight(4);
ellipse(350, 370, 40, 40);
noFill();
noStroke();
fill(0, 0, 0);
ellipse(360, 370, 20, 20);
//Drawing right eye of creeper
fill(255, 255, 255);
stroke(255, 9, 9);
strokeWeight(4);
ellipse(440, 370, 40, 40);
noFill();
noStroke();
fill(0, 0, 0);
ellipse(450, 370, 20, 20);

Posted in Uncategorized | Leave a comment

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

Posted in Uncategorized | Leave a comment

NAFIS SABIR HW 1.2.3

Professor Higgins I figured out what was wrong with the code. Here’s the corrected version.

/*Nafis Sabir
Professor Calli Higgins
HW 1.2.3*/
void setup() {
size(800, 800);//window size
}
void draw() {
background(0, 150, 255);//background color
smooth();//pixel smoothing
strokeWeight(9);//weight for stems
stroke(10, 200, 0);//stem color
line(200, 303, 200, 700);//stem 1
line(560, 503, 560, 700);//stem 2
line(380, 403, 380, 700);//stem 3
noStroke();//removed stroke from flowers
fill(0, 0, 255);//blue color for left flower
arc(200, 200, 200, 200, 0, PI+QUARTER_PI);//left flower
fill(146, 0, 206);//purple color for middle flower
arc(380, 300, 200, 200, 0, PI+QUARTER_PI);//middle flower
fill(255, 0, 255);//pink color for left flower
arc(560, 400, 200, 200, 0, PI+QUARTER_PI);//right flower
} //Done by Nafis Sabir

Posted in Uncategorized | 1 Comment

Homework 2.1

http://www.openprocessing.org/sketch/88379

Press one of these letters for it to work

B

G

P

R

T

Y

Z

Posted in Uncategorized | 1 Comment

Homework 2.1

//Terrance Shields – Prof. Calli Higgins – HW 2.1 – 2/5/13

//fix the 15 errors

void setup() { // 1.() needed to be after setup and 2.removed the space between set and up
size(200,200); // 3.changed period to a coma 4.needed semi colon
}

void draw() { //5.added void 6.changed drawing to Draw and 7.changed [ to {
background(0); //8.added semi colon after )
fill(255,255,255); //9.added missing B info 255
ellipse(100,100,100,100); //10.changed Ellipse to ellipse 11.added second Y value to 100
line(100,100,150,150); //12. changed x and y values
rect(mouseX,mouseY,50,50); //13.changed to mouseX 14.changed to mouseY 15.added semi colon

}

Updated Sketch

http://www.openprocessing.org/sketch/88353

Posted in Uncategorized | Leave a comment

Nafis Sabir HW 1.3.1

size(800,800);
background(0,150,255);
fill(0,0,255);
strokeWeight(2);
stroke(2);
arc(200, 200, 200, 200, 0, PI+QUARTER_PI, PIE);
strokeWeight(9);
stroke(10,200,0);
line(200, 303, 200, 700);
size(800,800);
fill(146,0,206);
strokeWeight(2);
stroke(2);
arc(380, 300, 200, 200, 0, PI+QUARTER_PI, PIE);
strokeWeight(9);
stroke(10,200,0);
line(380, 403, 380, 700);
size(800,800);
fill(255,0,255);
strokeWeight(2);
stroke(2);
arc(560, 400, 200, 200, 0, PI+QUARTER_PI, PIE);
strokeWeight(9);
stroke(10,200,0);
line(560, 503, 560, 700);

Posted in Uncategorized | Leave a comment

Noah Ruede – HW 1.2

Part 2

//Noah Ruede Calli Higgins Feb 5 2013

//Establishing size of image
size(400,400);
//Eliminating stroke
noStroke();

//Rectangle 1 Color
fill(255,0,0);
//Rectangle 1 Size/Position
rect(0,0,200,200);
//Rectangle 2 Color
fill(0,255,0);
//Rectangle 2 Size/Position
rect(200,0,200,200);
//Rectangle 3 Color
fill(0,0,255);
//Rectangle 3 Size/Position
rect(0,200,200,200);
//Rectangle 4 Color
fill(150);
//Rectangle 4 Size/Position
rect(200,200,200,200);

//Elipse stroke and stroke color
stroke(0);
strokeWeight(3);
//Elipse color and transparency
fill(255,255,255,150);
//Elipse Size/location
ellipse(200,200,width/4,height/4);

Part 3

//Noah Ruede Calli Giggins Feb 2 2013

size(600,600); //setting image size
background(255); //background color
noStroke(); //setting no stroke

//rectangle 1
fill(0); //setting fill to black
rect(0,0,50,600); //setting size and location

//rectangle 2
fill(255); //setting fill to white
rect(50,0,50,600); //setting size and location

//rectangle 3
fill(0); //setting fill to black
rect(100,0,50,600); //setting size and location

//rectangle 4
fill(255); //setting fill to white
rect(150,0,50,600); //setting size and location

//rectangle 5
fill(0); //setting fill to black
rect(200,0,50,600); //setting size and location

//rectangle 6
fill(255); //setting fill to white
rect(250,0,50,600); //setting size and location

//rectangle 7
fill(0); //setting fill to black
rect(300,0,50,600); //setting size and location

//rectangle 8
fill(255); //setting fill to white
rect(350,0,50,600); //setting size and location

//rectangle 9
fill(0); //setting fill to black
rect(400,0,50,600); //setting size and location

//rectangle 10
fill(255); //setting fill to white
rect(450,0,50,600); //setting size and location

//rectangle 11
fill(0); //setting fill to black
rect(500,0,50,600); //setting size and location

//rectangle 12
fill(255); //setting fill to white
rect(550,0,50,600); //setting size and location

//circles row 1

//circle 1
fill(255); //setting fill to white
ellipse(25,25,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,25,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,25,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,25,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,25,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,25,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,25,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,25,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,25,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,25,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,25,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,25,50,50); //setting size and location

//circles row 2

//circle 1
fill(255); //setting fill to white
ellipse(25,75,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,75,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,75,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,75,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,75,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,75,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,75,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,75,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,75,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,75,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,75,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,75,50,50); //setting size and location

//circles row 3

//circle 1
fill(255); //setting fill to white
ellipse(25,125,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,125,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,125,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,125,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,125,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,125,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,125,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,125,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,125,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,125,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,125,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,125,50,50); //setting size and location

//circles row 4

//circle 1
fill(255); //setting fill to white
ellipse(25,175,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,175,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,175,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,175,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,175,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,175,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,175,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,175,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,175,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,175,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,175,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,175,50,50); //setting size and location

//circles row 5

//circle 1
fill(255); //setting fill to white
ellipse(25,225,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,225,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,225,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,225,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,225,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,225,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,225,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,225,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,225,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,225,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,225,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,225,50,50); //setting size and location

//circles row 6

//circle 1
fill(255); //setting fill to white
ellipse(25,275,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,275,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,275,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,275,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,275,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,275,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,275,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,275,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,275,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,275,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,275,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,275,50,50); //setting size and location

//circles row 7

//circle 1
fill(255); //setting fill to white
ellipse(25,325,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,325,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,325,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,325,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,325,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,325,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,325,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,325,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,325,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,325,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,325,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,325,50,50); //setting size and location

//circles row 8

//circle 1
fill(255); //setting fill to white
ellipse(25,375,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,375,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,375,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,375,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,375,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,375,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,375,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,375,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,375,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,375,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,375,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,375,50,50); //setting size and location

//circles row 9

//circle 1
fill(255); //setting fill to white
ellipse(25,425,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,425,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,425,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,425,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,425,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,425,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,425,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,425,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,425,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,425,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,425,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,425,50,50); //setting size and location

//circles row 10

//circle 1
fill(255); //setting fill to white
ellipse(25,475,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,475,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,475,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,475,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,475,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,475,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,475,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,475,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,475,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,475,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,475,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,475,50,50); //setting size and location

//circles row 11

//circle 1
fill(255); //setting fill to white
ellipse(25,525,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,425,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,525,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,525,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,525,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,525,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,525,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,525,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,525,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,525,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,525,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,525,50,50); //setting size and location

//circles row 12

//circle 1
fill(255); //setting fill to white
ellipse(25,575,50,50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75,575,50,50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125,575,50,50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175,575,50,50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225,575,50,50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275,575,50,50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325,575,50,50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375,575,50,50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425,575,50,50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475,575,50,50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525,575,50,50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575,575,50,50); //setting size and location

Posted in Uncategorized | Leave a comment