int x = 450; int y = 150; int spacer = 9; int hgt = 220; int endBldg = 540; void setup() { size(600,400); background(255); } void draw() { noLoop(); rectMode(CENTER); fill(0); //building rect(x+40, 260, 110, 260); rect(x+40, 120, 80, 40);//roof top rect(x+40, 90, 30, 20); //roof top //elongated windows stroke(255); strokeWeight(4); while(x < endBldg) { line( x, y , x , y+ hgt); x = x+spacer; } }