Created
June 22, 2016 05:30
-
-
Save camb416/b9f8d5791cd70daee935dfc29a77af6c 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
color[] colors = { #395273, | |
#395273, | |
#F2EDA0, | |
#D9A171, | |
#395273, | |
#395273, | |
#40211E, | |
#395273, | |
#40211E, | |
#395273}; | |
// color[] colors = {#333333, | |
// #555555, | |
// #FFFFFF, | |
// #AAAAAA, | |
// #DDDDDD, | |
// #888888}; | |
void setup(){ | |
size(720,720); | |
} | |
void draw(){ | |
background(0); | |
// line(random(width),random(height),random(width),random(height)); | |
for(int i=0;i<72; i++){ | |
for(int j=0;j<72;j++){ | |
//stroke(colors[(i+j+1)%5]); | |
fill(colors[(i+j)%10]); | |
noStroke(); | |
float offset = sin(cos(i/16.0f)*20.0f+sin((j+frameCount)/32.0f)*10.0f+frameCount/8.0f)*15+5; | |
ellipse(i*10,j*10,offset,offset); | |
} | |
} | |
//saveFrame(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment