Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int num=10;
- void setup(){
- size(500,500);
- smooth();
- background(255);
- frameRate(100);
- }
- void draw(){
- ellipseMode(CENTER);
- stroke(255,50);
- fill(#4B515E,10);
- ellipse(250,250,num+200,num+200);
- fill(#403940,10);
- ellipse(250,250,num+150,num+150);
- fill(#643D42,10);
- ellipse(250,250,num+90,num+90);
- fill(#D95448,10);
- ellipse(250,250,num,num);
- fill(#F28775,10);
- ellipse(250,250,num-50,num-50);
- num++;
- }
- void mouseClicked(){
- background(#D95448,20 );
- num=10;}
Add Comment
Please, Sign In to add comment