Return to Snippet

Revision: 46053
at May 12, 2011 05:17 by charlieMonroe


Initial Code
float a = 100;

void setup() 
{
  size(640, 200);
  stroke(255);
}

void draw() 
{
  background(51);
  a = a - 0.5;
  if (a < 0) { 
    a = height; 
  }
  line(0, a, width, a);  
}

Initial URL


Initial Description


Initial Title
Processing sample code

Initial Tags


Initial Language
Processing