Created
January 24, 2014 05:54
-
-
Save BenjaminHolland/8592645 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
void setup() | |
{ | |
size(400,400); | |
background(255); | |
} | |
void drawBlob(int x,int y) | |
{ | |
noStroke(); | |
float val=0f; | |
for(int i=0;i<10;i++) | |
{ | |
fill(color(128+10*i,128+10*i,128+10*i)); | |
ellipse(x,y,50-i*2,50-i*2); | |
val+=0.01; | |
} | |
} | |
void draw() | |
{ | |
background(255); | |
drawBlob(200,200); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment