SaveFrame function exporting black frames

Please format your code! Select it all and use the toolbar icon.

Are you trying to save the output of pg or the screen? If pg, try (I think) pg.saveFrame(...)

If the screen, move saveFrame() to the end of draw()

2 Likes