submission by jtoy
function setup(){
  var myCanvas = createCanvas(800,800); //you must keep this line unmodified
}

function draw() {
  //background(0,5)
  for(i=0;i<100;i++){
    push()
    //translate(width/2*i*0.1,height/2*i*0.1)
    fill(255-i*10,255-i*2,i*7)
   //triangle(-20,0,0,-20,20,0)
    triangle( width-i*10,0-i*10,0-i*10,width-i*10,width+i*10,0-1*10   )
    pop()
  }
}