A lightweight helper tool for creating and managing your p5 projects!
Want to see a feature? Make sure to request it in the issue tracker. Is p5-helper
useful for you? If so, share it with a friend or two!
Install
$ npm install -g p5-helper
Usage
You can use p5-helper
to create a project:
p5 new myAmazingProject
By default, p5-helper
will use minified files and omit the p5.sound
library. You can override this by using the -f
and -s
flags for full libraries and p5.sound
, respectively.
Then, you can start a simple webserver and be well on your way to making the coolest p5 project ever!
Other features
Updating
p5-helper
uses a local source of p5
to enable you to create projects anywhere, even offline. It will alert you of a new available version, after which you will be able to update with
p5 update
Customizing
Want to customize index.html
or sketch.js
? No problem, simply head to your global node_modules
directory and edit the files under assets
.