Christina’s World

Screen Shot 2015-09-08 at 5.31.09 PM

For our first Interactive Authoring project we were asked to recreate a famous painting using a program called Open Processing. I chose to do Christina’s World by Andrew Wyeth. I wanted to do it in a overall simplistic style using basic shapes and geometric form. I believe I was pretty successful in doing so.

Below is the code used to create this image.

//Background
background (240,248,255);
size (1200,720);

//grass
noStroke ();
fill (189,183,107);
rect (0,200,1200,520);
noStroke ();
fill (238,232,170);
ellipse (900,250,1000,300);
noStroke ();
fill (189,183,107);
ellipse (1050,180,500,200);

//sky
noStroke ();
fill (240,248,255);
rect (0,0,1200,200);

//left building
noStroke ();
fill (169,169,169);
rect (300,100,100,100);

//right building RIght
noStroke ();
fill (128,128,128);
rect (1020,100,100,100);

//right building Left
noStroke ();
fill (169,169,169);
rect (850,50,190,150);

//fence
noStroke ();
fill (0,0,0);
rect(870,140,7,90);
noStroke ();
fill (0,0,0);
rect(910,160,8,92);
noStroke ();
fill (0,0,0);
rect(960,170,9,95);
noStroke ();
fill (0,0,0);
rect(1020,170,9,98);
noStroke ();
fill (0,0,0);
rect(1100,170,9,95);
noStroke ();
fill (0,0,0);
rect(1180,170,7,85);

//left arm
noStroke();
fill (253,245,230);
rect (520,545,120,25);
noStroke();
fill (253,245,230);
ellipse (640,556,40,40);
noStroke();
fill (253,245,230);
ellipse (650,620,40,40);
//dress
noStroke ();
fill (255,228,225);
ellipse (490,540,140,120);

//ARM
//rightarm
noStroke();
fill (253,245,230);
rect (540,515,25,120);
noStroke();
fill (253,245,230);
rect (540,610,120,25);
//ArmSLEVE
noStroke();
fill (255,228,225);
ellipse (545,515,50,50);

//face
noStroke ();
fill (253,245,230);
ellipse (505,451,90,90);

//Hair
noStroke ();
fill (0,0,0);
ellipse (500,450,90,90);
noStroke ();
fill (0,0,0);
ellipse (450,490,50,50);

//bottom of dress
noStroke ();
fill (255,228,225);
ellipse (400,600,230,100);

//leg
noStroke();
fill (253,245,230);
rect (285,570,35,100);
noStroke();
fill (253,245,230);
ellipse (285,665,80,35);

noStroke();
fill (255,228,225);
ellipse (325,570,80,35);
noStroke();
fill (255,228,225);
ellipse (450,610,120,110);

I also messed around and made a sketch book and made this

Screen Shot 2015-09-08 at 7.07.01 PM copy

heres the code to the sketchbook that I made….

float oldX;
float oldY;
color lighttan= color(220, 200, 189, 40);
color shadedtan= color(123, 96, 77, 40);
color tan= color(167, 127, 102, 40);
color lightblue= color(145, 160, 181, 40);
color mediumblue= color(121, 161, 197, 40);
color darkblue= color(176,196,222);
color dullyellow= color(246, 212, 151, 40);
color midyellow= color(154, 138, 104, 40);
color darkyellow= color(82, 63, 48, 40);
color graybrown= color(58, 51, 41, 40);
color white= color(255,40);
color black= color(0, 40);
color red= color(255,228,225);
float masterStroke= 1;

void setup(){
size(1400, 720);
smooth();
background(255,250,240);

}

void draw(){
strokeWeight(1);
fill(lighttan );
rect(10, 10, 20, 20 );
fill(tan );
rect(35, 10, 20, 20 );
fill(shadedtan);
rect(10, 35, 20, 20);
fill(lightblue);
rect(35, 35, 20, 20);
fill(mediumblue);
rect(10, 60, 20, 20);
fill(darkblue);
rect(35, 60, 20, 20);
fill(dullyellow);
rect(10, 85, 20, 20);
fill(midyellow);
rect(35, 85, 20, 20);
fill(darkyellow);
rect(10, 110, 20, 20);
fill(graybrown);
rect(35, 110, 20, 20);
fill(white);
rect(10, 135, 20, 20);
fill(black);
rect(35, 135, 20, 20);
fill(red);
rect(10, 160, 20, 20);
line(450, 30, 500, 30);
strokeWeight(8);
line(450, 50, 500, 50);
strokeWeight(16);
line(450, 80, 500, 80);
strokeWeight(4);
fill(255);
rect(250, 10, 50, 50);

if(mousePressed) {
if(mouseX > 10 && mouseX < 35){
if(mouseY >10 && mouseY < 35){
stroke(lighttan);
}
if(mouseY>35 && mouseY < 60){
stroke(shadedtan);
}
if(mouseY>60 && mouseY<85){
stroke(mediumblue);
}
if(mouseY>85 && mouseY<110){
stroke(dullyellow);
}
if(mouseY>110 && mouseY<135){
stroke(darkyellow);
}
if(mouseY>135 && mouseY<160){
stroke(white);
}
if(mouseY>160 && mouseY<185){
stroke (red);
}
}
if(mouseX > 35 && mouseX < 60){
if( mouseY > 10 && mouseY <35){
stroke(tan);
}
if(mouseY > 35 && mouseY < 50){
stroke(lightblue);
}
if(mouseY > 60 && mouseY < 85){
stroke(darkblue);
}
if(mouseY >85 && mouseY < 110) {
stroke(midyellow);
}
if(mouseY > 110 && mouseY <135){
stroke(graybrown);
}
if(mouseY >135 && mouseY <160){
stroke(black);
}
}
if(mousePressed){
if(mouseX > 450 && mouseX <500){
if(mouseY >10 && mouseY <40){
masterStroke= 4; }
}
if(mouseX > 450 && mouseX <500){
if(mouseY >40 && mouseY <70){
masterStroke= 12; }
}
if(mouseX > 450 && mouseX <500){
if(mouseY > 70 && mouseY <100){
masterStroke= 21;
}
}
strokeWeight(masterStroke);
}
if(mousePressed){
if(mouseX > 250 && mouseX <300){
if (mouseY > 10 && mouseY <60){
background(0);
}
}
}
if(mousePressed){
line(mouseX, mouseY, oldX, oldY);
}
}
oldX=mouseX;
oldY=mouseY;
}

About tylerjamesxo

Summary A few sentences long. Should include: Who are you? What is your focus/? What do you aspire to? Whatwill be found in this portfolio (in broad strokes)? Check for spelling, grammar, capitalization, etc. Spend some time refining this. Should NOT include: Information not relevant to this portfolio (“I have a brother named Steve, and a fish named Jimmy”) Informal language (“im TOTES into teh database programming!!1!”) ‘shout outs’ (“Hey Jimmy! Say hi to mom for me!”) Think about the tone you want to present publicly and to your faculty. After your summary, list the following categories: Software expertise [list all software in which you are proficient] Related Work [Work or internships related to DMA. What was your job title? Where? When?] Exhibitions [Any time your work has exhibited- public screenings, gallery shows, etc. What? When? Where?] Publications [Any of your images or writing that has been published. What? When? Where?] Conferences [Any conferences you’ve attended. What? When? Where? If you presented, also post the title of the presentation. Organizations [Off-campus organizations you are a member of. Do you hold a special position? President, Treasurer, etc?] Clubs [Campus clubs you are a part of. Do you hold a special position? President, Treasurer, etc?] Volunteering [Any community service or volunteer events you’ve been involved with] List all of these categories, even if some of them are blank for now. Make it your goal to fill out something in each category.
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