Difference between revisions of "Talk:IAT 800 Weekly Study Groups"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | + | { | |
int x = 0; | int x = 0; | ||
Line 19: | Line 19: | ||
background(0); | background(0); | ||
} | } | ||
+ | } | ||
} | } |
Revision as of 16:32, 27 September 2006
{ 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); }
} }