Talk:IAT 800 Weekly Study Groups
Jump to navigation
Jump to search
int x = 0;
void setup() {
size(320, 320);
background(0);
stroke(255);
strokeWeight(3);
}
void draw() {
line(x, height/2, x+5, height/2);
//
x = x + 1;
if (x > width) {
x = 0;
background(0);
}
}