int i; size(300,300); for(i=0; i<300; i+=5){ stroke(255-i,0,0); line(0,0,300,i); } for(i=0; i<300; i+=5){ stroke(255-i,0,0); line(0,0,300,i); }