Exporting still images from animations

Print statment didn’t solve it, the exported pdf is still this small and empty file, like the file that I got frame-2397
Do you know why?

@humano

Watch this

https://funprogramming.org/145-Export-animation-frames-convert-to-animgif-using-gifsicle.html

Thank you so much, but I have not made work instructions from first tutorial, (https://processing.org/reference/libraries/) so It is not possible for me to start with another one.

I did not present a solution.

I explained why in a previous post in this topic:

Give consideration to where you beginRecord() and endRecord().

:)