- Show Sketch
/** @peep sketchcode */
/* My First Sketch by cell0584
creating the same sketch 2 ways
2nd time using variables */
size (230, 230);
background (57,172,221);
stroke (125);
strokeWeight (3);
line(10, 10, 90, 90);
strokeWeight (1);
line(20, 10, 90, 80);
strokeWeight (1);
line(10, 20, 80, 90);
strokeWeight (1);
line(80, 10, 10, 80);
strokeWeight (3);
line(90, 10, 10, 90);
strokeWeight (1);
line(90, 20, 20, 90);
int x = 125; int y = 0;
stroke (10, 237, 240);
strokeWeight (3);
line(x+10, y+10, x+90, y+90);
line(x+90, y+10, x+10, y+90);
strokeWeight (1);
line(x+10, y+20, x+80, y+90);
line(x+20, y+10, x+90, y+80);
line(x+80, y+10, x+10, y+80);
line(x+20, y+90, x+90, y+20);
Nothing in the gallery yet!
Comments
Nobody has said anything yet.