Matthew Soto HW: 1.2 Part 3

background(0, 159, 255);//sky, light blue
fill(170, 0, 0);//House, fill in color
rect(32, 50, 55, 55);//Shape and positon of the house
stroke(205, 209, 4);//stroke color of the sun, dark yellow
fill(250, 255, 0);//Color of the sun, yellow
ellipse(15, 20, 25, 25);//Shape and position of the sun
stroke(0);//stroke of the roof
fill(129, 29, 29);//Color of the chimney
rect(37, 20, 10, 30);//shape and postion of the chimney,
fill(75, 75, 75);//color of the top part of chimney
triangle(30, 50, 60, 20, 90, 50);//shape and position of the roof
fill(222, 222, 222);//color of the left window
rect(35, 55, 15, 15);//Shape and position of the left window
fill(222, 222, 222);//color of the right window
rect(70, 55, 15, 15);//shape and postion of the right window
fill(106, 70, 41);//color of the door
rect(55, 80, 10, 50);//shape and position of the door
fill(49, 49, 49);//color of the upper part of the chimney
rect(31, 18, 20, 10);//shape and position of the upper part of the chimney

Posted in Uncategorized | Leave a comment

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.

Posted in Uncategorized | 1 Comment

HW1.2

1.2 Hw part 2

size(400,400);//how big my window is
fill(255,0,0);//the color red is being used
rect(0,0,200,200);//upper left square
fill(0,255,0);//the color green is now being used
rect(200,0,200,200);//the upper right square
fill(0,0,255);//the color blue is now being used
rect(0,200,200,200);//bottom left square
fill(125);//the color grey is now being used
rect(200,200,200,200);//bottom right square
fill(255,255,255,200);//color white is now used with some transparency
stroke(0);//outlines are now black
strokeWeight(4);//outlines are thicker
ellipse(200,200,width/4,height/4);//circle in the center

1.2 Hw part 3

size(600,400);
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
rect(200,300,200,50);//car body
fill(0);//black
rect(205,350,20,48);//left wheel
rect(375,350,20,48);//right wheel
fill(230,0,0);//red
quad(215,300,235,250,365,250,385,300);//car top
noStroke();//no outline
fill(44,255,250);//blue
quad(230,290,240,260,360,260,370,290);//car window
fill(246,255,0);//light’s color
ellipse(225,325,35,35);//left light
ellipse(375,325,35,35);//right light
fill(255,230,0);//yellow
triangle(280,345,290,330,300,345);//W
triangle(300,345,310,330,320,345);//C
triangle(290,330,300,315,310,330);//P

Posted in Uncategorized | 1 Comment

Homework 1.2 Part 2

Ashlee Frontin

homework 1.2 Part 2

 

size (200,200);
noStroke();
fill(255,0,0); //sets red square color
rect(0,0,100,100); //sets top and bottom points for red square

fill(72,242,46); //sets green square color
rect(100,0,100,100); //sets points for green square

fill(33,31,222); //sets blue square color
rect(0,100,100,100); //sets points for blue square

fill(150); //sets gray color
rect(100,100,100,100); //points gray square

fill(255,255,255,63); //sets white transparent
stroke(0); //sets border line
ellipseMode(CENTER); //center placement of circle
ellipse(100,100,100,100);

Posted in Uncategorized | 2 Comments

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

Posted in Uncategorized | 1 Comment

Mohammad Rahat 1.2 I tried

If this doesn’t work http://www.openprocessing.org/sketch/88219/check

Posted in Uncategorized | 1 Comment

Homework 1.2 Part 3 by kanghyun huh

Embedding doesn’t work so here is the link.

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

Posted in Uncategorized | Leave a comment

Homework 1.2 (chessboard)

my chessboard

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

 

Posted in Uncategorized | 1 Comment

Chris Pro homework 1.2 part 3

//Smiley Face Chris Pro

size(800,600);
background(0);

//face
fill(255,246,142);
ellipse(400,300,200,200);

//eyes
fill(255,255,255);
ellipse(360,260,25,25);
ellipse(430,260,25,25);
fill(0,255,0);
ellipse(360,260,12,12);
ellipse(430,260,12,12);
fill(0,0,0);
ellipse(360,260,5,5);
ellipse(430,260,5,5);

//nose
line(395,275,395,315);
line(395,315,410,315);

//freckles
fill(183,174,78);
ellipse(330,295,7,7);
ellipse(360,295,7,7);
ellipse(345,315,7,7);
ellipse(430,295,7,7);
ellipse(460,295,7,7);
ellipse(445,315,7,7);

//glasses
fill(255,255,255,0);
rect(340,247,40,25);
rect(410,247,40,25);
line(380,259.5,410,259.5);
line(340,259.5,280,247);
line(450,259.5,485,247);

//Mouth
fill(255,0,0);
bezier(350, 350, 375, 400, 425, 400, 450,350);

//Hair
fill(242,155,24);
triangle(340,200,380,200,340,230);
triangle(340,200,380,200,355,230);
triangle(350,200,400,200,375,230);
triangle(370,200,410,200,385,230);
triangle(410,200,430,200,385,230);
triangle(400,200,450,200,425,230);
triangle(425,200,460,200,460,230);

Posted in Uncategorized | Leave a comment

Homework 1.2 part 2 2/4/13

//Kanghyun huh

//calli higgins

//assinment 1.2 part 2

//due Feb 4th, 2013

//Enviroment

size(400,400); //set screen size 400×400 pixels.

//rectangles

noStroke(); //remove outline of rectangles

//red

fill(255,0,0); //makes the square red

rect(0, 0, 200, 200); //draw a square on the upper left corner

//gray

fill(128); //makes the square gray

rect(200, 200, 200, 200); //draw a square on the upper right corner

//green

fill(0,255,0); //makes the square green

rect(200,0,200,200);//draw a square on the bottom left corner

//blue

fill(0,0,255); //makes the square blue

rect(0,200,200,200);//draw a square on the bottom right corner

//ellipse

fill(255,255,255,200);//makes the circle white and transparent

strokeWeight(3);//makes border thick

stroke(0);//makes the black border around the circle

ellipse(200, 200, 100, 100);//draw a ellipse in the center

 

Posted in Uncategorized | 1 Comment