Wednesday 2 March 2011

A little better... but not quite.

Dammit I'm mad. Surely the blatantly obvious is staring me in the face?
{

strokeWeight(20);
stroke(#8d5173);
line(0,0,70,70);
strokeWeight(20);
stroke(#8d5173);
line(0,70,70,0);

fill(#6b455c);
noStroke();
quad(20, 35, 35, 20, 50, 35, 35, 50);

fill(#6b455c);
noStroke();
quad(0, 15, -15, 0, 0, -15, 15, 0);

fill(#6b455c);
noStroke();
quad(70, 15, 85, 0, 70, -15, 55, 0);

fill(#6b455c);
noStroke();
quad(55, 70, 70, 55, 85, 70, 70, 85);

fill(#6b455c);
noStroke();
quad(-15, 70, 0, 55, 15, 70, 0, 85);

stroke(#d6abc6);
strokeWeight(1);
line(0,0,70,70);
stroke(#d6abc6);
strokeWeight(1);
line(0,70,70,0);

noFill();
stroke(#582c45);
strokeWeight(1);
quad(0, 35, 35, 0, 70, 35, 35, 70);

noFill();
stroke(#d6abc6);
strokeWeight(1);
quad(0, 0, 35, -35, 70, 0, 35, 35);

}

It's better though, switched out the triangles for quadrilaterals, but it's still having weird overlapping issues. Ooh, and much much prettier with the pink:

2 comments:

  1. Hi Emma. The problem is that you use quad() to draw the corners, which result to overlap because that's how the computer drawing work. The latest drawing will overlap the previous drawing. Maybe you could add extra 2 white line where the over lap is on the lower left corner, using negative coordinate?

    ReplyDelete
  2. Thanks Kirawat, I was thinking that was what I'd be needing to resort to so hopefully it works!

    Though, the white lines are drawn after the quads, so I'm not exactly sure why they won't overlap properly... odd (or I'm not understanding something :-P)

    ReplyDelete