Processing 3/4 settings() Lifecycle Requirement for Dynamic Size() Before setup()
Processing 3 and 4 introduce the settings() method as the designated place for size(), smooth() and fullScreen() calls, executing before setup(). The sketch surface must be created exactly once, so invoking size() in both settings() and setup() violates the lifecycle and may produce runtime errors or be silently ignored. Because size() cannot be called after