Friday, January 18, 2013

Homework 2

So here is the problem with my homework 2. I did it more complicated than I should have. Which resulted in  hascanvas.com not reading my code saying P2D is not defined. (proof below). So here is what I am going to do. I am going to screen shot my work. Add the code so it displays and add the original art piece that I did it from. If that is a problem, I'm sorry. Please let me know how to fix it.

My artist was Blaise Cendrars.
I chose her by complete accident. I accidentally clicked on her name and when I saw that she was born in Switzerland I was immediately interested. The amazing thing about the work that I chose, Binding for the book Les Paques (Easter), is that it was one of the earliest abstract collages. It was created in 1913, Delaunay-Terk simply enjoyed gluing fragments of colored and textured paper onto bindings of books. The first one that she started on was the cover of Blaise Cendrar's poem Les Paques. Delaunay-Terk exhibited 13 decorated book bindings (her first exhibition) and it was in Berlin, Germany. That of course also made this piece that much more special to me. "This range of mediums demonstrates how her practice cut across the traditional hierarchy of fine and applied art" (moma.org).
Another thing I really love about this piece is that it looks effortless yet it was so crucial to the abstract art movement.










 



//Marie Wilcox
//ISTA401 HW2
int w = 500; //screen width
int h = 500; //screen height
int k = 200; //side length

PShape art, back, outer, out1, out2, out3, out4, out5, out6, re, tri1, tri2, tri3, tri4, tri5, tri6, tri7, tripol, tri19, tri18, tri8, tri9, tri17, tri12, tri16, tri15, tri13, tri14, tri10, tri11, trap1, round1, roundtri1, center, squ1, squ2;

void setup() {  
  size(w, h, P2D); // determines size of screen
  noStroke(); // gets rid of lines around shapes
  back = createShape(GROUP); // creates the background
  art = createShape(GROUP); // makes everything into a group
  outer = createShape(GROUP); // makes outside in a group overlaying

  // start making said shapes
  // base for art 
  squ1 = createShape(RECT, 250, 90, 235, 400); //finished
  squ1.fill(206,157,83);
  squ2 = createShape(RECT, 10, 90, 235, 400); //finished
  squ2.fill(206,157,83);
  // center
  center = createShape(RECT, 245, 90, 5, 400); //finished
  center.fill(255,183,49);
  // additional shapes
  
  tri4 = createShape(TRIANGLE, 88, 313, 130, 210, 155, 285); //finished
  tri4.fill(43,14,175); //dark blue with purple tint
  tri3 = createShape(TRIANGLE, 88, 313, 180, 370, 155, 285); //finished
  tri3.fill(216,113,2); //dark orange-brown
  tri1 = createShape(TRIANGLE, 100, 320, 120, 390, 170, 360); //finished
  tri1.fill(255,0,0); //red
  tri2 = createShape(TRIANGLE, 120, 390, 10, 400, 100, 300); //finished
  tri2.fill(255,217,0); //yellow
  tri5 = createShape(TRIANGLE, 150, 375, 242, 300, 242, 375); //finished
  tri5.fill(180,123,29,200); //dark brown //80% opacity
  tri6 = createShape(TRIANGLE, 85, 410, 165, 360, 160, 430); //finished
  tri6.fill(180,0,0,210); //dark red //85% opacity
  trap1 = createShape(); //trapezoid
  trap1.vertex(85, 410);
  trap1.vertex(120, 390);
  trap1.vertex(110, 340);
  trap1.vertex(85, 380);
  trap1.fill(193,85,2); //darker than dark orange-brown
  trap1.end(CLOSE); //finished
  tri7 = createShape(TRIANGLE, 135, 220, 155, 285, 210, 260); //finished
  tri7.fill(36,35,180); // light blue
  tri8 = createShape(TRIANGLE, 205, 257, 132, 218, 190, 195); //finished
  tri8.fill(64,83,245); // ligher blue
  tri9 = createShape(TRIANGLE, 128, 220, 195, 190, 160, 120); //finished
  tri9.fill(180,123,29,230); //dark brown // opacity //tri5color
  tri10 = createShape(TRIANGLE, 195, 190, 160, 120, 245, 170); //finished
  tri10.fill(255,133,3); //golden-orange
  tri11 = createShape(TRIANGLE, 162, 415, 155, 490, 220, 430); //finished
  tri11.fill(222,198,101); //beige-creme
  
  roundtri1 = createShape(); //needs a rounded edge
  roundtri1.vertex(155, 489);
  roundtri1.vertex(243, 405);
  roundtri1.vertex(243, 490);
  roundtri1.fill(222,198,101); //beige-creme
  roundtri1.end(CLOSE);
  
  //awkward shapes time
  re = createShape(ELLIPSE, 60, 230, 90, 150); //finished //not perfect
  re.fill(155,46,170); //dark pink purple
  
  //side 2
  tri12 = createShape(TRIANGLE, 270, 150, 340, 200, 400, 120); //not curved 
  tri12.fill(100,100,97); //gray
  tri13 = createShape(TRIANGLE, 290, 280, 340, 200, 450, 250); //not curved
  tri13.fill(70,74,240); //light baby blue
  tri14 = createShape(TRIANGLE, 295, 280, 445, 250, 380, 330); //finished
  tri14.fill(180,95,234); // light purple
  tri15 = createShape(TRIANGLE, 295, 280, 380, 330, 330, 420); //finished
  tri15.fill(235,220,245); //grayish pixelated
  tri16 = createShape(TRIANGLE, 340, 400, 380, 330, 450, 370); //finished
  tri16.fill(157,110,71); //grayish-brown
  tri17 = createShape(TRIANGLE, 445, 250, 380, 330, 450, 370); //finished
  tri17.fill(64,58,53); // dark gray
  tri18 = createShape(TRIANGLE, 350, 450, 485, 320, 485, 450); //finished
  tri18.fill(227,215,206); //silver
  tri19 = createShape(TRIANGLE, 380, 242, 485, 245, 485, 400); //finished
  tri19.fill(159,87,160); //some weird purple
  
  // triangle(x1, y1, x2, y2, x3, y3) 
  
  //outer design
  out1 = createShape(RECT, 465, 245, 20, 150); //finished
  out1.fill(157,110,71); //grayish-brown
  out2 = createShape(RECT, 465, 105, 20, 140); //finished
  out2.fill(219,96,2); //pumpkin
  out3 = createShape(RECT, 250, 90, 235, 15); //finished    
  out3.fill(157,110,71); //grayish-brown
  out4 = createShape(RECT, 250, 473, 235, 18); //finished
  out4.fill(227,215,206); // silver
  out5 = createShape(RECT, 465, 446, 20, 45); //finished
  out5.fill(64,58,53); // dark gray
  out6 = createShape(RECT, 435, 90, 50, 15); //finished
  out6.fill(43,14,175); //tri1 color

  
  // rect(x, y, width, height)
  
  art.addChild(re);
  art.addChild(round1);
  art.addChild(roundtri1);
  art.addChild(tri9);
  art.addChild(tri1);
  art.addChild(tri2);
  art.addChild(tri3);
  art.addChild(tri4);
  art.addChild(tri5);
  art.addChild(tri6);
  art.addChild(trap1);
  art.addChild(tri7);
  art.addChild(tri8);
  art.addChild(tri10);
  art.addChild(tri11);
  art.addChild(tri12);
  art.addChild(tri13);
  art.addChild(tri14);
  art.addChild(tri15);
  art.addChild(tri16);
  art.addChild(tri17);
  art.addChild(tri18);
  art.addChild(tri19);
  art.addChild(tripol);
  
  back.addChild(center);
  back.addChild(squ1);
  back.addChild(squ2);
  
  outer.addChild(out1);
  outer.addChild(out2);
  outer.addChild(out3);
  outer.addChild(out4);
  outer.addChild(out5);
  outer.addChild(out6);
}

void draw() {
  shape(back);
  shape(art);
  shape(outer);
}

1 comment:

  1. Hi - looks good Marie! - would be easier to test if you had a link to a .zip of your sketch. -Angus

    ReplyDelete