Difference between revisions of "Talk:IAT 800 Weekly Study Groups"

From BioV
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
 
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);
 
  } 
 
}
 
</pre>
 

Latest revision as of 23:40, 27 September 2006