Skip to content

Instantly share code, notes, and snippets.

Created September 20, 2017 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/c56c00e9b1ac4b29b1c0c09be5397f69 to your computer and use it in GitHub Desktop.
Save anonymous/c56c00e9b1ac4b29b1c0c09be5397f69 to your computer and use it in GitHub Desktop.
background(255);
noStroke();
var h = 0;
while(true) {
background(255);
colorMode(HSB);
fill(h, 100, 100);
rect(width/2, height/2, random(100), random(100));
h = h + 5;
if (h >= 360) {
h = 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment