The settings() function is new with Processing 3.0. It's not needed in most sketches. It's only useful when it's absolutely necessary to define the parameters to size() with a variable. Alternately, the settings() function is necessary when using Processing code outside the Proc
()
| 931 | * @see PApplet#smooth() |
| 932 | */ |
| 933 | public void settings() { |
| 934 | // is this necessary? (doesn't appear to be, so removing) |
| 935 | //size(DEFAULT_WIDTH, DEFAULT_HEIGHT, JAVA2D); |
| 936 | } |
| 937 | |
| 938 | |
| 939 | final public int sketchWidth() { |