Last active
November 15, 2016 16:25
-
-
Save edgalindo/8832bcffa7d5b1008dba2ca05b55ae49 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| function setup() { | |
| colorMode(HSB, 260, 100, 100, 100); | |
| createCanvas(300, 300); | |
| var a = 150; | |
| var x = 10; | |
| while (a < 360) { | |
| fill(a, 75, 100); | |
| rect(x, 0, 15, height); | |
| a+=3; | |
| x +=15; | |
| } | |
| } | |
| function draw() { | |
| } | |
Author
Thx, for the advise:-)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a } missing at the end. Also - if you give the file a extension (in our case .js) it will be color highlighted.