Created
February 16, 2017 15:18
-
-
Save slambert/0288355c6c771f86454fb5cbb5df349b 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
void setup() { | |
//fullScreen(); | |
size(600, 600); | |
strokeWeight(5); | |
stroke(255,0,0); | |
} | |
void draw() { | |
background(0,245,245); | |
// From left to right, top to bottom | |
for (int i = 0; i < (width); i+=10) { | |
ellipse(i,i,10,10); | |
} | |
// From right to left, bottom to top | |
for (int i = width; i > 0; i-=10) { | |
rect(i,(height-i),10,10); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment