Skip to content

Instantly share code, notes, and snippets.

Created August 31, 2017 02:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/a0db799d3eb1af50e931bdb181efc232 to your computer and use it in GitHub Desktop.
No idea what's happening Abstraction
void setup(){
size(1000,1000);
background(255);
noLoop();
}
void draw(){
for(int a = 0; a < 50; a++){
for(int b = 0; b < 50; b++){
drawrect(a*10,b*10);
}
}
}
void drawrect(float x, float y){
for(int a=0; a<5; a = a +1){
rect(x, y, 500,500);
stroke(random(255), random(255), random(255), random(255));
strokeWeight(5);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment