But, if you don´t want vertical lines, if you want them diagonal, is this the way?Why do I see them fragmented?
void setup() { size(1000,1000); background(255,255,255); } void draw() { for (int i=0; i<1000; i=i+20) { line(i,0,i+40,1000); } }