Skip to content

Instantly share code, notes, and snippets.

@taraijpn
Forked from kunishi/gradation2.pde
Created July 19, 2016 08:02
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 taraijpn/7fb96cd4c65204ca05d29b06d5bea247 to your computer and use it in GitHub Desktop.
Save taraijpn/7fb96cd4c65204ca05d29b06d5bea247 to your computer and use it in GitHub Desktop.
size(200, 200);
colorMode(HSB, 100);
background(99);
noStroke();
int i;
for (i = 0; i <= 3; i = i + 1) {
fill(45, 80 - 20 * i, 99);
rect(0, 0, 200 - 50 * i, 200 - 50 * i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment