Skip to content

Instantly share code, notes, and snippets.

@kunishi
Last active October 7, 2015 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunishi/3140854 to your computer and use it in GitHub Desktop.
Save kunishi/3140854 to your computer and use it in GitHub Desktop.
size(200, 200);
colorMode(HSB, 100);
background(99);
noStroke();
int i;
int j;
for (i = 0; i < 10; i = i + 1) {
for (j = 0; j < 10; j = j + 1) {
fill(i * 10, 10 + j * 10, 99);
rect(i * 20, j * 20, 10, 10);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment