/p5js-animation-to-png-template

Template for saving p5js animations to png files

Primary LanguageJavaScript

p5js Animation to .png Template

This is a template for saving p5.js animations to PNG files using CCpapture.js

Steps to use:

  1. Run sketch.html in a browser.
  2. Preview the animation (default setting).
  3. Click the button to restart the animation and save png files.
  4. CCapture.js will bundle the png files and save them as a TAR file for download.
  5. After the images are extracted from the TAR, they can be converted to a video or GIF. I recommend using ScreenToGif for this.