How to open maximized window?

Hi @Rafsing

I think the main Processing 3.0 issue here is you can’ t use variables as arguments for size() on setup() anymore. Have a look at: https://processing.org/reference/settings_.html

But then, using `surface’ for everything it works for me:

void setup() {
  surface.setResizable(true);
  surface.setSize(displayWidth, displayHeight) ;
  surface.setLocation(0, 0);
}

void draw() {
  background(255, 0, 0);
  ellipse(width/2, height/2, 100, 50);
}