• fullscreen
  • BrittB_Ex2Smooth.pde
  • size(250,250);
    background(255);
    smooth();
    
    //VERTICAL
    strokeWeight(15);
    stroke(#A50F02);
    line(50, 250, 50,0);
    line(100, 250, 100, 0);
    line(150, 250, 150, 0);
    line(200, 250, 200, 0);
    line(0, 250, 0, 0);
    line(250, 0, 250, 250);
    //vertical2
    strokeWeight(3);
    line(60, 250, 60, 0);
    line(110, 250, 110, 0);
    line(160, 250, 160, 0);
    line(210, 250, 210, 0);
    line(10, 250, 10, 0);
    //vertical3
    strokeWeight(1);
    line(70, 250, 70, 0);
    line(120, 250, 120, 0);
    line(170, 250, 170, 0);
    line(220, 250, 220, 0);
    line(20, 250, 20, 0);
    
    
    
    //DIAGONAL1
    stroke(0);
    strokeWeight(15);
    line(0, 0, 250, 250);
    line(100, 0, 250, 150);
    line(200, 0, 250, 50);
    line(0, 100, 150, 250);
    line(0, 200, 50, 250);
    //diagonal.1-2
    strokeWeight(3);
    line(15, 0, 265, 250);
    line(115, 0, 265, 150);
    line(215, 0, 265, 50);
    line(0, 85, 165, 250);
    line(0, 185, 65, 250);
    //diagonal.1-3
    strokeWeight(1);
    line(30, 0, 280, 250);
    line(130, 0, 280, 150);
    line(230, 0, 280, 50);
    line(0, 70, 180, 250);
    line(0, 170, 80, 250);
    
    
    
    //DIAGONAL2
    stroke(#EA1602, 220);
    strokeWeight(15);
    line(0, 250, 250, 0);
    line(150, 0, 0, 150);
    line(50, 0, 0, 50);
    line(100, 250, 250, 100);
    line(200, 250, 250, 200);
    //diagonal.2-2
    strokeWeight(3);
    line(15, 250, 265, 0);
    line(165, 0, 0, 165);
    line(65, 0, 0, 65);
    line(115, 250, 265, 100);
    line(215, 250, 265, 200);
    //diagonal.2-3
    strokeWeight(1);
    line(30, 250, 280, 0);
    line(180, 0, 0, 180);
    line(80, 0, 0, 80);
    line(130, 250, 280, 100);
    line(230, 250, 280, 200);
    
    
    
    //HORIZONTAL
    strokeWeight(15);
    stroke(0, 210);
    line(0, 200, 250, 200);
    line(0, 150, 250, 150);
    line(0, 100, 250, 100);
    line(0, 50, 250, 50);
    line(0, 250, 250, 250);
    line(0,0, 250, 0);
    //horizontal2
    strokeWeight(3);
    line(0, 190, 250, 190);
    line(0, 140, 250, 140);
    line(0, 90, 250, 90);
    line(0, 40, 250, 40);
    line(0, 240, 250, 240);
    //horizontal3
    strokeWeight(1);
    line(0, 180, 250, 180);
    line(0, 130, 250, 130);
    line(0, 80, 250, 80);
    line(0, 30, 250, 30);
    line(0, 230, 250, 230);
    

    code

    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.

    license

    advertisement

    Brittany Bourque

    Rough-Harmonize

    Add to Faves Me Likey@!
    You must login/register to add this sketch to your favorites.

    You need to login/register to comment.