Skip to content

Instantly share code, notes, and snippets.

Created August 31, 2017 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c45382ba1e4e5ac6400019126dbe8b40 to your computer and use it in GitHub Desktop.
Save anonymous/c45382ba1e4e5ac6400019126dbe8b40 to your computer and use it in GitHub Desktop.
void setup(){
size(800,800);
background(255);
noFill();
noLoop();
//noStroke();
}
void draw(){
myFunction(200,100,100,100);
myFunction(200,300,200,200);
myFunction(200,150,205,75);
}
void myFunction(int red, int size, int x, int y){
ellipse(x,y,size,size);
fill(random(255),random(255),random(255),50);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment