Christina’s World (coded replica)

christin

PImage photo;
int trans = 255;
void setup () {
size (790, 530);
background (255);
photo = loadImage(“Christinasworld.jpg”);
}


void draw() {
image(photo, 0, 0);
noStroke();

//sky
fill(199,201,198,trans);
rect(0,0,790,530);

//grass
fill(99,94,64,trans);
quad(0,100,790,73,790,530,0,530);

fill(158,145,101,trans);
quad(217,91,83,139,113,182,297,172);
quad(217,91,790,73,790,143,297,172);

fill(106,116,107,trans);
quad(314,68,357,42,385,62,383,68);
quad(315,68,383,68,383,87,315,88);

fill(60,66,62,trans);
quad(571,10,620,16,640,42,553,40);
fill(112,122,120,trans);
quad(553,40,638,42,640,77,553,81);

fill(60,66,62,trans);
quad(643,46,663,47,671,59,640,57);
fill(112,122,120,trans);
quad(640,57,671,59,670,77,640,77);

fill(60,66,62,trans);
quad(685,59,701,61,703,76,682,77);

//woman
fill(20,18,3,trans);
quad(103,413,152,419,151,432,103,425);

fill(195,200,203,trans);
quad(130,417,159,402,170,407,153,419);

fill(229,167,150,trans);
quad(159,402,294,342,331,386,200,421);

quad(294,342,327,297,393,324,331,386);

quad(327,297,349,288,373,284,393,324);

fill(20,18,3,trans);
ellipse(365,261,50,50);
ellipse(347,286,26,20);

stroke(0);
line(714,94,602,79);
line(714,94,790,84);
}

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