Created
December 23, 2017 20:04
-
-
Save suttree/5f42875bd6936838158ab57c267b26e9 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
// If more than one screen is attached to the computer, run the | |
// code at the full dimensions across all of the attached screens | |
int x = 0; | |
void setup() { | |
fullScreen(P2D, SPAN); | |
background(0); | |
noStroke(); | |
fill(102); | |
} | |
void draw() { | |
rect(x, height*0.2, 1, height*0.6); | |
x = x + 2; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment