title: Get default (on screen) PGraphics context in Processing
body: <p>Is it possible to get the graphics context which is rendered on screen in Processing?</p>
  
  <p>I have a function which I would like to use to draw the same shapes to both the screen and a back buffer for intersection testing. If I could call it twice with different PGraphics contexts as arguments that would remove a lot of duplicate code.</p>