Processing Christina’s World

screen-shot-2016-09-07-at-7-13-41-pm

christinasworld

Christina’s World – By Andrew Wyath (1948)

PImage img;

void setup() {
size(720, 480);
img=loadImage(“christinasworld.png”);
}
void draw() {
background(255);
fill(171, 229, 220, 30);
noStroke();

quad(-3, 205, 878, 146, 809, -2, -12, 0); //sky
quad(-3, 87, 878, 30, 766, -2, -12, 0);
quad(-14, 70, 878, -15, 766, -2, -12, 0);
quad(-14, 28, 878, -54, 766, -2, -12, 0);

fill(196, 200, 185);
quad(583, 17, 590, 18, 587, 4, 583, 4);
quad(560, 17, 567, 18, 566, 1, 561, 1);//chimney
fill(173, 186, 178);
quad(526, 76, 579, 74, 567, 32, 527, 37); //house 1
fill(203, 222, 212);
quad(569, 74, 612, 73, 609, 35, 568, 31);
fill(57, 71, 64, 50);
quad(527, 43, 610, 44, 609, 32, 531, 31); //shadow
fill(99, 103, 89);
triangle(523, 38, 570, 32, 546, 6);
fill(126, 131, 114);
quad(569, 32, 612, 35, 593, 14, 546, 6); //roof 1
fill(203, 222, 212);
quad(569, 27, 579, 28, 576, 18, 568, 17); //roof windows
quad(589, 28, 599, 29, 593, 19, 585, 18);
fill(70, 74, 72); //door
quad(589, 73, 599, 67, 598, 47, 588, 47);
fill(173, 186, 178); // house 3
quad(611, 69, 636, 73, 636, 47, 609, 45);
fill(126, 131, 114); //roof 2
quad(610, 50, 640, 51, 632, 39, 608, 38);
fill(173, 186, 178); // house 4
quad(677, 69, 649, 73, 654, 54, 669, 54);
fill(126, 131, 114); //roof 4
quad(652, 63, 663, 63, 668, 54, 654, 54);

fill(140, 138, 139); //building 2
quad(295, 123, 362, 82, 365, 56, 297, 60);
triangle(304, 66, 342, 35, 365, 56);
triangle(297, 61, 342, 45, 365, 56);
fill(70, 74, 72); //door
quad(338, 51, 346, 50, 345, 42, 340, 43);

fill(229, 210, 153);
quad(80, 93, 597, 64, 773, 70, -12, 100);
fill(197, 167, 125);
quad(-22, 1509, 983, 143, 211, 87, -3, 98); //ground
fill(229, 210, 153);
quad(-81, 173, 740, 135, 722, 69, 212, 87);
fill(197, 167, 125);
quad(-13, 175, 116, 178, 71, 115, 17, 106);
fill(77, 51, 23, 50);
quad(1450, 1511, 532, 178, 382, 76, -475, 124);
fill(156, 115, 75);
quad(1604, 1511, 444, 284, 133, 211, -432, 235);

fill(250, 239, 236); //neck
quad(332, 275, 308, 353, 361, 302, 351, 279);
fill(247, 215, 204); //lady
quad(276, 338, 315, 362, 371, 302, 313, 283);
fill(180, 141, 131);
quad(316, 332, 334, 347, 351, 292, 308, 334);
fill(157, 122, 113);//shadow
quad(316, 332, 334, 347, 351, 292, 308, 334);

fill(250, 239, 236);
quad(327, 325, 360, 336, 375, 302, 353, 288);

fill(245, 220, 213);
quad(230, 342, 263, 404, 313, 372, 269, 334);
fill(157, 122, 113);//shadow
quad(286, 391, 299, 382, 304, 361, 299, 353);
fill(157, 122, 113);//shadow
quad(328, 344, 315, 356, 304, 361, 299, 353);

fill(218, 184, 174);
quad(185, 350, 185, 376, 264, 404, 233, 341);
fill(239, 218, 213);
quad(185, 350, 192, 379, 171, 394, 155, 381);
fill(248, 248, 248);
quad(134, 396, 145, 401, 165, 389, 156, 381);
fill(186, 176, 167); //foot
quad(134, 395, 145, 400, 138, 416, 92, 396);
fill(44, 42, 40);
quad(91, 404, 99, 412, 138, 416, 92, 396);

fill(48, 44, 43);
quad(330, 230, 326, 265, 372, 259, 369, 225);//hair
quad(323, 267, 314, 281, 329, 293, 340, 276);
quad(329, 258, 318, 281, 352, 280, 372, 259);
quad(270, 334, 272, 332, 314, 361, 312, 372);
fill(246, 224, 185); //arm
quad(339, 327, 313, 357, 333, 351, 358, 330);
quad(306, 416, 315, 355, 332, 347, 319, 407);
quad(306, 417, 327, 428, 345, 419, 316, 406);
quad(343, 341, 352, 334, 365, 340, 365, 350);
quad(363, 339, 391, 332, 387, 351, 364, 350);
stroke(113);
line(685, 87, 684, 58); //fence
line(670, 86, 665, 59);
line(625, 80, 629, 59);
line(611, 78, 613, 56);
line(596, 76, 598, 69);
}

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