Skip to content

Instantly share code, notes, and snippets.

@zamfi

zamfi/cycling-hue.js

Forked from anonymous/cycling-hue.js
Last active Sep 20, 2017
Embed
What would you like to do?
background(255);
noStroke();
var h = 0;
while(true) {
background(255);
colorMode(HSB);
fill(h, 100, 100);
ellipse(width/2, height/2, 100, 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
You can’t perform that action at this time.