Last active
October 15, 2015 12:31
-
-
Save jonesfish/8dde33cb12eb9c5317d7 to your computer and use it in GitHub Desktop.
Revisions
-
jonesfish revised this gist
Oct 15, 2015 . 1 changed file with 5 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,12 @@ size(400,300); colorMode(HSB); float spacing = 20; for (float x=0; x < width; x+=spacing){ float hue = x/width * 255; noStroke(); fill(hue, 255, 255); rect(x,0,spacing,height); } -
jonesfish revised this gist
Oct 15, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,5 +7,5 @@ for (float x = 0; x<width; x+=spacing){ float hue = x/width * 255; noStroke(); fill(hue,255,255); rect(x, 0, spacing, height); } -
jonesfish created this gist
Oct 15, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ size(400,300); colorMode(HSB); int spacing = 20; for (float x = 0; x<width; x+=spacing){ float hue = x/width * 255; noStroke(); fill(hue,255,255); rect(x, 0, x+spacing, height); }