background preloader

Processing

Facebook Twitter

Books. Window Size and Full Screen. From Processing This page covers window sizing with sketches as well as Present (full screen) mode. In Processing 2.0 (starting with alpha 6), there are several improvements and changes to how full screen is handled, as well as much-improved multiple monitor support. This section only pertains to the desktop version of Processing (not JavaScript or Android), because it's the only one to use windows and frames. It's possible to make the sketch window resizable. To do this, use the following: This is not enabled by default because most sketches won't behave well when resized. If a sketch is running inside a web browser, the frame variable will be null. You can also change the size of the window using the Java method frame.setSize(w, h). Just use Sketch → Present and your sketch will run in Full Screen mode. The displayWidth and displayHeight variables The displayWidth and displayHeight variables contain the width and height of the screen where the sketch was launched.

Full Screen Exclusive Mode. Processing.js. Processing.js. Topics. Logo (turtle graphics) class & example.