Pre-Render Static Layers with Processing PGraphics for Frame-Rate Gains
Move unchanging geometry, grids, and text into a PGraphics offscreen buffer during setup, then composite it with a single image() call each frame. This guide covers buffer creation, renderer matching, resize handling, memory limits, and verification steps.