Rendering every frame for export as quickly as possible / avoiding dropped frames with a high FrameRate
in
Programming Questions
•
2 years ago
Hello,
is there a recommended way of creating a sequence of pngs from a sketch as quickly as possible? I just need to save the frames without displaying them.
Would setting the frame rate to something high (999999), using an offscreen PGraphics object and calling save on it at the end of each draw loop be the best way?
Related to this, I see that frameRate's documentation states that "If the processor is not fast enough to maintain the specified rate, it will not be achieved"
In which case, would my approach drop frames? How could I ensure every frame was rendered and saved as quickly as possible?
Thanks.
1