Talk:IAT 800 Weekly Study Groups

From BioV
Revision as of 16:33, 27 September 2006 by Jd (talk | contribs)
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);
  }  
}