Processing Christina’s World

Wyeth, Andrew

Wyeth, Andrew


my-attempt-at-christinas-world

Christina’s World By Andrew Wyath (1948)

Code:

void setup () {

size (720, 480);
}

void draw () {

ellipseMode (CENTER);
rectMode (CENTER);

//sky color
background (231,254,255);

//normal field and color
stroke (128, 101,44);
fill (128,101,44);
quad(0, 87, 720, 63, 719, 480, 0, 480);

//3rd house
fill (147);
stroke(146);
quad (588, 50, 614, 49, 616, 75, 586, 71);
fill (115);
stroke (115);
quad(585, 38, 605, 38, 614, 48, 588, 49);

//4th house
fill (101);
stroke(108);
quad (613, 48, 618, 48, 620, 75, 617, 71);
quad (606, 37, 610, 37, 618, 47, 613, 50);
fill (147);
stroke(146);
quad (618, 45, 641, 45, 643, 75, 621, 71);
fill (115);
stroke (115);
quad(609, 35, 634, 36, 642, 48, 619, 49);

//house side
fill (115);
stroke (115);
quad(499, 34, 540, 32, 540, 71, 498, 71);
fill (104);
stroke (105);
triangle(498, 34, 517, 8, 540, 34);

//front of house
fill (170);
stroke(170);
quad (540, 34, 589, 36, 589, 75, 540, 71);

//door to house
stroke (0);
fill (0);
quad (557, 49, 569, 48, 569, 75, 558, 71);

//roof of house
fill (115);
stroke (115);
quad(518, 8, 568, 12, 591, 35, 540, 36);

//chimney stacks
fill (160);
stroke (161);
rect (539, 7, 3, 11);
rect (555, 8, 3, 11);

//second house
quad(312, 59, 357, 57, 357, 76, 312, 79);
triangle(312, 59, 335, 37, 357, 57);
quad(291, 69, 316, 57, 316, 77, 292, 81);

//light in field
stroke (182, 149,86);
fill (179, 149,90);
ellipse (428, 112, 701,74);
ellipse (686, 105, 980, 82);

//body
fill (226,191,191);
stroke (226,191,191);
quad(384, 312, 386, 310, 373, 330, 366, 335);
fill (238,212,212);
stroke (231,201,201);
quad(322, 352, 352, 303, 389, 308, 361, 370);
fill (248,229,229);
stroke (248,229,229);
quad(385, 296, 400, 312, 390, 334, 365, 335);
quad(357, 303, 360, 296, 383, 292, 383, 310);

//hair
fill (0);
stroke(0);
ellipse (374, 276, 29, 36);
quad(351, 298, 366, 270, 381, 295, 353, 304);
ellipse (355, 298, 10, 12);

//arms/hands
fill (241,224,186);
stroke (240,223,184);
quad(377, 335, 389, 335, 368, 353, 354, 355);
quad(355, 356, 367, 354, 365, 390, 357, 390);
quad(357, 390, 366, 389, 377, 393, 372, 400);
quad(371, 343, 384, 338, 404, 349, 401, 354);
quad(409, 342, 401, 348, 399, 355, 417, 348);
quad(377, 335, 389, 335, 368, 353, 354, 357);

//belt
stroke (0);
fill(0);
quad(321, 351, 356, 368, 354, 369, 322, 355);

//bottom of body
stroke (231,209,209);
fill (237,217,217);
quad(320, 352, 355, 370, 318, 391, 288, 350);
stroke (223,183,183);
fill (212,177,177);
quad(289, 350, 318, 392, 263, 391, 246, 365);
quad(247, 365, 262, 391, 239, 392, 230, 387);

//socks/feet
stroke (255);
fill (255);
quad(229, 388, 238, 393, 222, 405, 210, 404);
stroke (109);
fill (109);
quad(188, 398, 211, 402, 224, 409, 185, 410);
}

Advertisements
This entry was posted in Non-Timebased 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