Code
size(100,100);
background(185,196,107);
for (int i=1; i<=100; i=i+10){
strokeWeight(2);
stroke (255-(1*(i+100)),255-(1*(i+100)),255-(1*i));
line(i,0,i,100);
}
0107 - For Loops V: Line Series
Statement:Use a for structure to create a series of vertical lines (like jail bars) whose stroke colors vary from light (on the left side of the canvas) to dark (on the right side of the canvas).
hide statement