xxxxxxxxxx
132
/* recreation of Berit Mogensen's BML 05
https://www.papercollective.com/art-prints/bml-05
by Alina Perdomo
9/9/22
*/
function setup() {
createCanvas(500, 700);
background ("white")
//shapes
noStroke();
//FIRST LINE
rectMode (CORNER)
fill ('#313133')
rect(168, 125, 65, 60);
fill ('#29395B')
rect(250, 125, 48, 60);
fill ('#8E744B')
rect(318, 125, 82, 60);
//SECOND LINE
fill ('#BE9E92')
rect(100, 210, 250, 75);
fill ('#16362D')
rect(370-3, 210, 30+3, 75);
//THIRD LINE
fill ('#8E744B')
rect(100, 310, 25, 158);
fill ('#ABAD90')
rect(145, 310, 82, 60);
fill ('#27385B')
rect(240, 340, 108, 30);
fill ('#995748')
rect(370-3, 310, 30+3, 158);
fill ('#995748')
rect(145, 390, 40, 77);
fill ('#9ED2C9')
rect(205, 390, 20, 77);
fill ('#CFA548')
rect(240, 390, 108, 77);
//FOURTH LINE
fill ('#16362D')
rect(100, 500, 58, 70);
fill ('#ABAD90')
rect(170, 500, 120, 70);
fill ('#29395B')
rect(340, 525, 60, 50);
//nofill rectangles
noFill() ;
strokeWeight(0.5);
stroke ('black') ;
rect(145, 110, 128, 150);
rect(340, 90, 80);
//big square
rect(115, 155, 260, 275);
//center rect
rect(200, 235, 115, 300);
//small square
rect(75, 340, 80);
//rect next to center rect
rect(273, 325, 84, 150);
//rect bottom left corner
rect(65, 450, 47, 90);
//second rect bottom
rect(145, 520, 105, 80);
//third rect bottom
rect(270, 550, 93, 35);
//fourth rect bottom
rect(375, 450, 48, 95);
/*
// grid horizontal
stroke ("red")
line(500, 175, 0, 175);
line(500, 350, 0, 350);
line(500, 525, 0, 525);
//grid vertical
line(125, 0, 125, 700);
line(250, 0, 250, 700);
line(375, 0, 375, 700);
noFill ();
rectMode (CENTER);
rect(500/2, 700/2, 300, 450);
*/
//save('bml05.png');
}