Programing and Coding HW #1: “Christina’s World” Block version

Wyeth, Andrew

Wyeth, Andrew

Screen Shot 2015-09-08 at 1.20.17 PM

This is the coding formula I used to make this processing:

void setup() {
background (0, 200, 230);
size (1116, 605);

}

void draw () {

fill (163, 203, 149);
rect (-10, 105, 1145, 600, 60, 60, 20, 20); //feild that takes up the majority of the painting.

fill (70);
rect(660, 70, 65, 35, 0); // small house front
triangle (659, 70, 690, 45, 727, 70); // small roof front for the small house

rect(635, 70, 25, 35, 0); // small house side
triangle (633, 70, 678, 55, 659, 70); // small roof side for the small house

rect(880, 75, 65, 30, 0); // front of big house
quad(887, 75, 863, 45, 915, 45, 950, 76); //roof for front of big house

rect(840, 75, 45, 30, 0); //side view of big house
triangle (838, 75, 863, 45, 889, 75); //side view of roof of of big house

rect(945, 95, 15, 10, 0); // small shack side
quad(945, 95, 945, 85, 955, 85, 960, 95); //roof of small shack side

rect(960, 95, 3, 10, 0); //shack side inbetween

rect(963, 95, 16, 10, 0); //small pithouse
quad (965, 95, 980, 95, 975, 85, 958, 85);

fill (163, 211, 167);
rect (485, 105, 645, 135, 30); // upper right hand corner of field

fill (70);
rect(985, 110, 16, 10, 0); //small garage side
quad(992, 103, 985, 110, 1000, 110, 1007, 103); //roof of small garage side

rect(1000, 110, 11, 10, 0); //small garage front
triangle (1000, 110, 1007, 104, 1012, 110); //roof for small garage front

fill(35);
rect(660, 300, 45, 45, 15, 10, 30, 0);//the woman’s head

fill(220);
rect(670, 343, 25, 20);//the woman’s neck

fill(243, 110, 190);
quad(647, 349, 725, 370, 695, 460, 650, 415);//the woman’s torso

fill(211, 233, 234);
quad(764, 408, 720, 402, 717, 419, 776, 425);// the woman’s left arm

fill(220);
quad(802, 399, 788, 417, 776, 425, 764, 408);//the woman’s left hand

fill(243, 110, 190);
quad(695, 460, 650, 415, 546, 466, 617, 500);//the woman’s weast

fill(211, 233, 234);
quad(715, 367, 725, 370, 714, 440, 695, 425);//the woman’s upper right arm
quad(714, 440, 695, 425, 700, 515, 706, 499);//the woman’s lower right arm

fill(25);
quad(660, 325, 690, 340, 690, 350, 648, 360);//the woman’s ponytail

fill(220);
quad(700, 516, 706, 499, 726, 506, 740, 518);//the woman’s right hand

fill(60);
quad(554, 484, 466, 475, 485, 494, 524, 496);// the woman’s right foot

fill(211, 233, 234);
quad(547, 466, 574, 480, 507, 511, 480, 511);// the woman’s left leg

fill(60);
quad(495, 539, 510, 525, 503, 511, 425, 511);//the woman’s left foot
}

Advertisements
This entry was posted in Non Time-Based and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s