• fullscreen
  • mondrian.pde
  • size(540,600);
    background(255);
    
    
    fill(215,35,15);//red boxes
    stroke(215,35,15);
    rect(0,0,30,128);
    rect(0,318,30,32);
    rect(456,272,64,46);
    
    fill(30,70,170);//blue boxes
    stroke(30,70,170);
    rect(160,0,72,52);
    rect(456,566,84,34);
    
    fill(250,200,10);//yellow boxes
    stroke(250,200,10);
    rect(160,206,72,144);
    
    
    stroke(0);
    strokeWeight(14);
    strokeCap(SQUARE);
    line(37,0,37,350);//vertical lines
    line(167,0,167,600);
    line(239,0,239,350);
    line(371,0,371,600);
    line(393,0,393,600);
    line(421,0,421,566);
    line(463,0,463,600);
    line(527,0,527,350);
    
    line(0,59,520,59);//horizontal lines
    line(44,213,520,213);
    line(0,357,540,357);
    line(364,459,540,459);
    line(160,573,540,573);
    
    
    
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Lily Shen

    DAY02

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

    You need to login/register to comment.