Hi, as a beginner to Processing, I was just working through the tutorials. I noticed when I run a sketch, sometimes the visible window size does not change regardless of the changes I make to the arguments of the size() function:
int i = 0;
int colr = 0;
void setup(){
size (600, 200);
background(70);
}
void draw () {
colr=20*(i);
rectMode(CENTER);
noStroke();
fill(colr+40,130,colr); //start dark green and grade to purple
rect(20+30*(1+i),100,30,100); //Draw series of filled rect
i++;
}
This is a simple program that suppose to create a spectrum of colors spanning across the display area with size of 600 x 200. The window itself changes but I only see the default 50 x 50 view size when I run it.
It is an intermittent problem and seems there should be a simple fix but I don't know if there is something configured wrong on my end or if there is something else going on.