Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 184ca279e8
Fetching contributors…

Cannot retrieve contributors at this time

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