Code
size(300,300);
background(0);
stroke(255);
smooth();
for (int x = 10;
x < 20;
x = x + 1)
{
line( 10 * x, 50, 10 * x, 260);
}
0103 - For Loops I: Line Series
Statement:
Create a for structure in which the counting variable increments by 1 each time through the loop. Using this counting variable, create a simple pattern of 10 lines.
looops