Code
size(200,200);
smooth();
background(230,255,50);
stroke(0);
int start=10;
int end=200;
int space=20;
for (int i=start; i<end; i+=space){
line(i,0,200,i);
}
0104 - For Loops II: Line Series
Statement:
Create a for structure in which the counting variable increments by some skip-value each time through the loop. While keeping the initial and terminal values of the counting variable fixed, change the skip value to govern the number of lines which are drawn.
hide statement