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

18 lines (14 sloc) 0.281 kb
class Flash extends Routine {
void draw() {
long frame = frameCount - modeFrameStart;
if (frame % (2) < 1) {
background(255,0,0);
}
else {
background(0,255,255);
}
if (frame > FRAMERATE*TYPICAL_MODE_TIME) {
newMode();
}
}
}
Jump to Line
Something went wrong with that request. Please try again.