MDX Creative Technology
Wednesday, 9 November 2011
Moving circle...
int y;
int b;
void setup(){
size(500,500);
y=0;
b=255;
}
void draw(){
if(y<=500){
background(0);
fill(255,b,0);
ellipse(250,y,30,30);
b--;
y++;
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment