Created
September 5, 2018 05:03
-
-
Save kellylougheed/9cc09f5ec3b31209dacc47c5b06b27ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hue; | |
function setup() { | |
createCanvas(400, 400); | |
hue = 0; | |
} | |
function draw() { | |
// background(220); | |
} | |
function mouseDragged() { | |
hue++; | |
colorMode(HSL, 360); | |
noStroke(); | |
fill(hue, 200, 200); | |
ellipse(mouseX, mouseY, 50, 50); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment