Off screen display windows placement when using P3D or P2D

Hello @dkemp ,

Try this and change x and y as required:

void setup()
  {
  size(300, 300, P2D);
  int x = 600;
  int y = 600;
  surface.setLocation(x, y);
  }
  
void draw()
  {
  }

Reference:

I know the scaling affects my sketch window size:

:)