Created
January 26, 2016 23:01
-
-
Save camb416/17ac5823765fd22235de 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
int mod; | |
void setup(){ | |
mod = 1; | |
size(600,600); | |
} | |
void draw(){ | |
background(0); | |
stroke(255); | |
for(int i=0; i < (width * height); i+=mod){ | |
point(i-((floor(i/width)*width)),floor(i/width)); | |
} | |
} | |
void keyPressed(){ | |
save(nf(mod,3,0)+".tif"); | |
mod ++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment