int i; size(300,300); for(i=0; i<300; i+=10){ stroke(i,0,0); strokeWeight(1); line(0,0,300,i); }
size(300,300);
for(i=0; i<300; i+=10){
stroke(i,0,0); strokeWeight(1); line(0,0,300,i);
}