Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 20 lines (15 sloc) 0.376 kB
a6b64d8 @potatono Refactored everything into separate classes.
potatono authored
1 class FlashColors extends Routine {
2 void draw() {
3 long frame = frameCount - modeFrameStart;
4
5 // print(mouseY*255.0/height);
6 // print(" ");
7
8 colorMode(HSB, 100);
9
10 for(int x = 0; x < width; x++) {
11 for(int y = 0; y < height; y++) {
12 stroke((x*y+frame*4)%100,90,90);
13 point(x,y);
14 }
15 }
16
17 colorMode(RGB, 255);
18 }
19 }
Something went wrong with that request. Please try again.