Resize event for sketch without draw() loop

What you’re looking to do is add a (renderer-dependent) stage/window resize callback listener, which should call Processing’s redraw() when prompted. See Resizable window with constrained proportions for FX2D and P2D examples.

1 Like