I a beginner with processing, but have had experience with coding in other languages. I am attempting to make a block of cyan color walk across a blue back gound in three steps. For some reason the first two blocks will not appear and only the last block shows. I can not see what is wrong. Thanks Mike
void setup(){
size(900,300);
noStroke(); //no outline around small circle
smooth(); //smooths the contour of the small circle
fill(#0F2EF0); //Fill background with blue
rect (0, 0, 900, 300);
delay(1000);
fill(#03FFFD); //after 1 second color left 1/3 block with cyan
rect(0,0,300,300);
delay(1000);
fill(#0F2EF0); //Fill background with blue to erase old cyan
rect (0, 0, 900, 300);
fill(#03FFFD); //fill middle block with cyan
rect(300,0,300,300);
delay(1000);
fill(#0F2EF0); //Fill background with blue to erase old cyan
rect (0, 0, 900, 300);
fill(#03FFFD); //fill right block with cyan
rect(600,0,300,300);
delay(1000);
}