submission by chrono673 for coordinates (View the other submissions)
function setup(){
  var myCanvas = createCanvas(800,800); //you must keep this line unmodified
}

function draw() {
  //start writing your code here
   for(x=0;x<width;x+=20){
    line(x,0,x,height)
  } 
     for(y=0;y<height;y+=20){
    line(0,y,width,y)
  } 


  fill(0,0,0)
  rect(320,280,160,20)
  rect(320,560,160,20)
  rect(300,500,20,60)
  rect(480,500,20,60)
  rect(500,480,20,20)
  rect(520,460,20,20)
  rect(540,380,20,80)
  rect(520,340,20,40)
  rect(500,300,20,40)
  rect(480,300,20,20)
  rect(360,520,20,40)
  rect(420,520,20,40)
  rect(280,480,20,20)
  rect(260,460,20,20)
  rect(240,380,20,80)
  rect(260,340,20,40)
  rect(280,300,20,40)
  rect(300,300,20,20)
  rect(380,460,40,40)
  rect(300,360,60,100)
  rect(280,380,100,60)
  rect(440,360,60,100)
  rect(420,380,100,60)
  
  fill(169,24,45)
  noStroke();
  rect(320,300,60,20)
  rect(300,320,60,20)
  rect(280,340,20,20)

  fill(255,0,0)
  rect(300,340,80,20)
  rect(360,320,40,20)
  rect(380,300,40,20)
  rect(280,360,20,20)
  rect(260,380,20,20)
  rect(360,360,20,20)

  fill(255,128,0)
  rect(260,400,20,40)
  rect(380,340,20,40)
  rect(420,300,20,40)
  rect(400,320,20,40)
  rect(440,300,20,20)

  fill(255,255,0)
  rect(260,440,20,20)
  rect(280,440,20,40)
  rect(380,380,20,40)
  rect(400,360,20,40)
  rect(420,340,20,40)
  rect(440,320,20,40)
  rect(460,300,20,60)

  fill(0,204,0)
  rect(480,320,20,40)
  rect(500,340,20,40)
  rect(300,460,80,20)
  rect(360,440,40,20)
  rect(380,420,40,20)
  rect(400,400,20,20)

  fill(67,193,255)
  rect(520,380,20,20)
  rect(400,440,40,20)
  rect(300,480,80,20)
  rect(320,500,40,20)

  fill(20,20,255)
  rect(320,520,40,20)
  rect(360,500,60,20)
  rect(420,460,60,20)
  rect(420,480,20,20)
  rect(520,400,20,40)

  fill(155,87,206)
  rect(500,440,20,20)
  rect(480,460,20,20)
  rect(440,480,40,20)
  rect(420,500,40,20)
  rect(380,520,40,20)
  rect(380,540,20,20)
  rect(320,540,40,20)

  fill(97,0,194)
  rect(400,540,20,20)
  rect(440,540,40,20)
  rect(440,520,40,20)
  rect(460,500,20,20)
  rect(480,480,20,20)
  rect(500,460,20,20)
  rect(520,440,20,20)

}