Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.322 kb
class Lines extends Routine {
void draw() {
background(0);
stroke(255);
long frame = frameCount - modeFrameStart;
int x = int(frame % 5);
for (int i = -x; i<WIDTH; i+=5) {
line(i, 0, i+height, height);
}
if (frame > FRAMERATE*TYPICAL_MODE_TIME) {
newMode();
}
}
}
Jump to Line
Something went wrong with that request. Please try again.