How to take screenshots of the canvas?

Is there a way in the p5.js web editor to take and save several screenshots of the canvas automatically? For example every x frames or according to some other programmed rule?

1 Like

From the p5.js reference, you may also be interested in save(), saveFrames(), and saveCanvas():

2 Likes