p5.js github npm
zachkrall.com

p5snap

a command line tool for creating snapshots of p5 sketches

GitHub NPM

installation

p5snap can be installed using NPM (Node Package Manager)

npm -g install p5snap

usage

to start p5snap, provide a relative file path and the number of images that should be saved

p5snap <FILE-PATH> -n <NUMBER-OF-IMAGES>

for example:

p5snap ./mySketch.js -n 20

will create:

license

Copyright © 2020 Zach Krall.
This project is MIT licensed.