processing4
processing4 copied to clipboard
having noSmooth(); in steup will trigger a duplicate settings() warning
Processing 4.3 Windows 10
I thought I was going crazy :)
void settings() {
}
void setup() {
noSmooth();
}
Yeah, happened to me a couple of times with noSmooth() or smooth(). That must go into settings() . But, on the other hand, settings() are very restrictive, you cannot have eg. frameRate(), background(), stroke(), fill(), noCursor(), surface.setVisible() etc. in there - you'll get NullPointerException.