Processing saving empty PDF

hmm

I’ve tried initialising record as true but I still get a blank pdf.

Btw if you run the code and then click a few times to draw circles then press ‘s’ to save a frame the frame is blank.

any hints