Christina’s Geometric World

Screen Shot 2016-09-07 at 12.07.56 PM.png

zzz Christinas World Andrew Wyeth large image.jpg

Here is a interpretation of Andrew Wyeth’s Christina’s World using Processing 3. Below is the code used to create this image.

void setup(){
size (720,480);
background(104,148,189);
}

void draw(){

//sky
noStroke();
fill(104,148,189);
rect(0,0,300,480);

//field
noStroke();
fill(149,131,92);
rect(0,150,1080,720);
fill(132,109,92);
ellipse(475,194,492,146);

//house
noStroke();
fill(61);
rect(536,101,50,50);
fill(83);
rect(585,101,60,50);
rect(602,71,9,24);
rect(625,70,14,25);

//house roof
fill(73);
rect(567,81,78,21);
fill(64);
triangle(538,101,586,102,567,81);

//shacks right
fill(47);
rect(649,128,25,22);
fill(105);
rect(686,139,12,11);

//middle shack
fill(89);
rect(188,119,50,31);
triangle(238,122,222,99,207,120);

//girl

//arm left
fill(252,230,187);
rect(393,344,58,10,1);

//legs
fill(252,192,226);
triangle(293,354,294,404,244,405);
fill(255);
rect(221,390,46,15);
fill(0,0,0);
rect(211,375,14,30);

//body
fill(252,192,226);
rect(365,316,32,46);
rect(357,345,40,50);
rect(293,354,100,50);

//arm right
fill(252,230,187);
rect(390,345,11,61,1);

//head
fill(42);
ellipse(391,295,44,54);
triangle(355,350,408,313,372,284);

}

Advertisements

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