PGraphics gfx; void setup() { gfx = createGraphics(width, height); gfx.smooth(); } void draw() { }