• fullscreen
  • mondriant_july31.pde
  • size(880, 920);
    background(239, 235, 236);
    
    //red lines
    stroke(173, 30, 22);
    strokeWeight(20);
    //red top 1
    line(0, 40, 880, 40); 
    //red bottom 1
    line(0,620, 880, 620);
    //red left 1
    line(280, 0, 280, 920);
    //red right 1
    line(815, 0, 815, 920);
    
    //blue lines
    stroke(41, 37, 98);
    strokeWeight(20);
    //blue top 1
    line(0, 108, 880, 108);
    //blue middle 1
    line(0, 390, 880, 390);
    //blue bottom 1
    line(0,860, 880, 860);
    //blue left 1
    line(62, 0, 62, 920);
    
    //yellow lines
    stroke(232, 204, 69);
    strokeWeight(20);
    //yellow top 1
    line(0, 80, 880, 80);
    //yellow 2nd from top 1
    line(0, 225, 880, 225);
    //yellow 3rd from top 1
    line(0, 420, 880, 420);
    //yellow 4th from top 1
    line(0, 585, 880, 585);
    //yellow 5th from top 1
    line(0, 735, 880, 735);
    //yellow 6th from top 1
    line(0, 785, 880, 785);
    //yellow 7th from top 1
    line(0, 790, 880, 790);
    //yellow bottom 1
    line(0, 890, 880, 890);
    //yellow left 1
    line(22, 0, 22, 920);
    //yellow 2nd from left 1
    line(92, 0, 92, 920);
    //yellow 3rd from left 1
    line(360, 0, 360, 920);
    //yellow 4th from left 1
    line(560, 0, 560, 920);
    //yellow 5th from left 1
    line(630, 0, 630, 920);
    //yellow 6th from left 1
    line(710, 0, 710, 920);
    //yellow 7th from left 1
    strokeWeight(15);
    line(758, 0, 758, 920);
    //yellow right 1
    strokeWeight(20);
    line(848, 0, 848, 920);
    
    //overunder patches
    //red patches
    stroke(173, 30, 22);
    //top left red over blue
    line(42, 40, 68, 40);
    //top mid red over yellow
    line(280, 60, 280, 88);
    //right top red over yellow
    line(815, 210, 815, 250);
    //lower mid left red over yellow
    line(80, 620, 100, 620);
    //bottom red over yellow
    line(280, 855, 280, 920);
    
    //blue patches
    stroke(41, 37, 98);
    //left blue over yellow
    line(0, 390, 50, 390);
    
    
    
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Summer Johnston

    SummerJ_mondrian

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

    You need to login/register to comment.