08/10/25 04:49:21 .net
float x;
void setup(){
size(200,200);
colorMode(RGB, 256);
background(255, 0, 0);
frameRate(15);
x = 0;
}
void draw(){
fadeToWhile();
x = x+1;
fill(255, 255, 255);
ellipse(width/2,x,10,10);
}
void fadeToWhile(){
rectMode(CORNER);
fill(255, 0, 0);
rect(0,0,width,height);
}