This package is supposed to be a little helper in starting creative coding with p5.js outside Processing or p5.js Editor. The package exports p5 sketch in instance mode, so all p5 functions are bound up in a single variable instead of polluting your global namespace ¯\_(ツ)_/¯
.
Clone this repository and install its dependencies:
git clone https://github.com/ax2mx/p5-template
cd p5-template
npm install
Run script:
# Start developing with livereload
npm run dev
# or build production bundle
npm run build
Enjoy your coding (^-^)