Processing | Christina’s World

Monochromatic Version created in Processing

screen-shot-2016-09-08-at-2-19-13-pm

Original

16.1949

Wyeth, Andrew

Codding:

void setup(){
size(643,430); // Set the size of the window
}

void draw(){
background(225); // Draw a white background
smooth(); //The function smooth() enables “anti-aliasing” which smooths the edges of the shapes. no smooth() disables anti-aliasing.

// Set ellipses and rects to CENTER mode
ellipseMode(CENTER);
rectMode(CENTER);

//House Left
fill(175);
quad(254, 57, 271, 50, 290, 38, 315, 53);
quad(256, 56, 256, 71, 312, 71, 311, 51);

//House Right
fill(125);
quad(451, 67, 484, 62, 484, 31, 451, 35);
triangle(449, 36, 465, 10, 485, 32);
quad(484, 31, 520, 35, 519, 40, 481, 37);
fill(150);
quad(465, 10, 505, 16, 521, 35, 484, 31);
fill(200);
quad(484, 37, 519, 40, 519, 60, 484, 62);
fill(125);
quad(529, 38, 538, 52, 524, 78, 520, 41);
fill(175);
quad(519, 52, 529, 52, 529, 60, 519, 62);
quad(533, 52, 545, 52, 545, 60, 533, 62);
fill(150);
quad(519, 40, 519, 52, 529, 52, 523, 41);
quad(526, 38, 533, 52, 546, 52, 540, 40);
fill(125);
quad(519, 52, 519, 54, 545, 54, 545, 52);

//Grass Bottom Layer
fill(125);
rect(320,300,644,430);
noStroke();
fill(200);
ellipse(538,109,375,100);
ellipse(451,116,824,100);
ellipse(251,120,406,100);
fill(125);
ellipse(176,124,375,100);
ellipse(63,130,375,100);

//Grass Layer 1 (brighter green)
fill(200);
ellipse(258,108,310,77);
ellipse(211,128,293,88);

//Grass Layer 2 (darker above(lower))
fill(125);
ellipse(409,176,833,70);
ellipse(562,165,833,70);
ellipse(519,157,384,64);
ellipse(703,155,618,85);

//Grass Layer 3 (darker top left(under shed))
fill(125);
arc(575, 80, 347, 42, 3.316+QUARTER_PI, 3.14+PI);

//Christina’s Body
fill(240);
ellipse(224,315,75,61);
ellipse(194,317,87,47);
ellipse(285,258,47,47);
ellipse(306,264,21,27);
ellipse(278,268,44,47);
ellipse(269,274,35,42);
ellipse(262,284,35,42);
ellipse(256,296,42,48);
ellipse(157,325,42,22);
fill(100); //shoe
ellipse(125,329,20,10);
fill(255); //sock
ellipse(134,331,14,10);
ellipse(129,334,14,10);
ellipse(123,338,14,10);
fill(100); //shoe
ellipse(105,343,43,10);
ellipse(107,345,37,10);

//Christina’s Arm (smaller)
fill(210);
ellipse(302,287,13,14);
ellipse(312,293,17,9);
ellipse(322,294,20,14);
ellipse(308,289,13,6);

//Christina’s Arm (larger)
fill(225);
ellipse(305,278,14,10);
ellipse(302,282,14,10);
ellipse(297,286,14,10);
ellipse(292,290,14,10);
ellipse(286,294,14,10);
ellipse(282,296,14,10);
ellipse(278,301,14,10);
ellipse(277,305,13,10);//
ellipse(276,310,14,10);
ellipse(275,314,14,10);
ellipse(274,323,13,52);
ellipse(270,333,5,46);//
ellipse(278,351,23,14);

//Christina’s Hair
fill(50);
ellipse(298,214,38,38);
ellipse(309,203,17,19);
ellipse(303,203,17,19);
ellipse(298,217,35,42);
ellipse(279,238,17,19);
ellipse(289,230,27,15);
ellipse(291,236,20,14);
}

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