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