Sol Lewitt

Identify a Sol Lewitt instruction and create a sketch that mimics it.

3 thoughts on “Sol Lewitt”

  1. int w=500,h=500,x,y,px,py,a;

    void setup(){
    size (w,h);
    background(255);

    }

    void draw(){
    px=x;
    py=y;
    x=(int)random(0,w+1);
    y=(int)random(0,w+1);
    stroke(0);
    strokeWeight(5);
    point(x,y);
    stroke(255,215,215);
    strokeWeight(1);
    line(px,py,x,y);
    a++;
    if(a>=50){
    noLoop();
    }

    }

  2. int x;
    int y;

    void setup() {
    size(720,480);
    background (255);
    for(x=0; x<height; x++) {
    for(y=0; y<width; y++) {

    stroke(0);
    strokeWeight(2);
    rect(width/5,height/5,random(width-x),random(height-x));
    rect(width/10,height/10,random(width+x-1),random(height+x));
    rect(width/5,height/5,random(width+y),random(height+y));
    rect(width/10,height/10,random(width+y-1),random(height+y-1));
    }
    }
    }

Leave a Reply

Your email address will not be published. Required fields are marked *

Programming for Artists

Privacy Statement