Begin a shape according to time

Hi everyone !
I am making an animation and I would like to start a shape a few seconds after launching my animation, but I don’t know if it is possible. I looked on forums, lessons, examples but I didn’t find anything… If anyone has a solution, I would be very grateful :slight_smile:

boolean shape_made;
void draw(){
  if( !shape_made && millis() > 3000 ){
    shape_made = true;
    make_shape();
  }
  // ...
}
2 Likes

Thanks so much !!:smile: