Sketch canvas does not change

My sketch runs fine, but when I try to change the canvas size, it does not change. I tried to change the ratio of the sketch ex: 100, 200; 1000, 800; but the sketch only pops up with a canvas size of I would say about 100x100. I wasn’t sure if this was a processing bug or there is some setting on my pc (Windows 11) that is restricting the pop-up window size

void setUp()
{
  size(100,200);
}

void draw()
{
  background(255);
}

You mis-typed the setup() function as setUp(). It should not contain a capital letter. Processing is not seeing yours and so is always using the default window size.

2 Likes