Hey, i would like to execute a window that has no x minimise and so no buttons on top

Hi @Lissie,

If you are referring to the window title bar, then yes it’s possible to remove it:

Example using fullScreen() and then setting the window size and location:

void settings() {
  fullScreen();
}

void setup() {
  surface.setSize(500, 500);
  surface.setLocation(200, 200);
}

void draw() {
  background(0);
  ellipse(mouseX, mouseY, 20, 20);
}

For that you need a way to measure time, check this for ideas on how to implement it:

Also the exit() function to terminate the sketch.

1 Like