set width of window processing code example Example: how to change size of the window in processing size(800, 600); // (must be first line inside void setup())