Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.329 kb
class RGBRoutine extends Routine {
int color_angle = 0;
void draw() {
background(0);
for (int row = 0; row < height; row++) {
for (int col = 0; col < width; col++) {
stroke(0,2*((row+col+color_angle)%128),0);
point(col,row);
}
}
color_angle = (color_angle+1)%255;
}
}
Jump to Line
Something went wrong with that request. Please try again.