Description
This page is generated from the Processing project folder at /2016/ASSIGNMENTS/A-08 Loops and Arrays and Graphics/assignment_08_mission_02/assignment_08_mission_02.pde.
Archive
No companion assets were found in this sketch folder.
color c1 = 255;
int num = -1;
void setup() {
size(600,400);
background(#000000);
frameRate(30);
}
void draw() {
for (int j = 0; j < 20; j++) {
fill(c1);
if (c1 == 0) {
num = 1;
} if (c1 == 255) {
num = -1;
}
c1 += num;
rect(j*30,190,20,20);
}
} This page is generated from the Processing project folder at /2016/ASSIGNMENTS/A-08 Loops and Arrays and Graphics/assignment_08_mission_02/assignment_08_mission_02.pde.
No companion assets were found in this sketch folder.