8 Ecke

Not very well known, but 8 Ecke is a very important part of history of generative art.
It was made by Georg Nees.
Nees became the first to exhibit what then was called computer art, computergrafik in German or, better, algorithmic art.
His doctoral thesis was published as a book in 1969 (under the title, Generative Computergrafik).
and This was in all likelihood world-wide the first doctoral thesis on a topic of computer art.

Code

            
    elem=document.querySelector(".example-container");
    setCanvas(elem);
    x = 0;
    y = 0;
    function draw(){

        if(randomBool()){
            new line(x,y,x+40,y+40,'#695fe6',2);
        }
        else{
            new line(x,y+40,x+40,y,'#695fe6',2);
        }

        x+=40;
        if(x>WIDTH){
            x=0;
            y+=40;
        }

        if(y<HEIGHT){                       //stop the illustration when the canvas is filled
            requestAnimationFrame(draw);            
         }
    }
    draw();