Permalink
Browse files

Revert chase back to 2 lines, to make it more usefu.

  • Loading branch information...
1 parent dc4f895 commit 69e3c2591b4a0fb15422dcd59d51b6267125d37c @cibomahto cibomahto committed Sep 30, 2012
Showing with 1 addition and 8 deletions.
  1. +1 −8 Chase.pde
View
@@ -1,18 +1,11 @@
class Chase extends Routine {
void draw() {
-
- // naim hack (PORNJ Pink: RGB 252/23/218)
- float r = random(220, 255)/2;
- float g = random(0, 55)/2;
- float b = random(210, 230)/2;
background(0);
- stroke(color(r, g, b));
+ stroke(color(255,255,255));
long frame = frameCount - modeFrameStart;
line(frame/3.0%displayWidth, 0, frame/3.0%displayWidth, displayHeight);
line((frame/3.0+1)%displayWidth, 0, ((frame/3.0+1))%displayWidth, displayHeight);
- line((frame/3.0+2)%displayWidth, 0, ((frame/3.0+2))%displayWidth, displayHeight);
- line((frame/3.0+3)%displayWidth, 0, ((frame/3.0+3))%displayWidth, displayHeight);
if (frame > FRAMERATE*TYPICAL_MODE_TIME) {
newMode();

0 comments on commit 69e3c25

Please sign in to comment.