technique

Off-screen PGraphics layer compositing

Draw into one or more separate PGraphics surfaces bracketed by beginDraw()/endDraw(), then composite them onto the main window with image().

Also called: PGraphics offscreen buffer · createGraphics layering · transparent PGraphics compositing

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper


Revision 1 · 1 source · Something wrong? Tell us.