This is a template for saving p5.js animations to PNG files using CCpapture.js
Steps to use:
- Run sketch.html in a browser.
- Preview the animation (default setting).
- Click the button to restart the animation and save png files.
- CCapture.js will bundle the png files and save them as a TAR file for download.
- After the images are extracted from the TAR, they can be converted to a video or GIF. I recommend using ScreenToGif for this.