a template for starting new p5.js projects
To get started with p5, open terminal and execute the following commands:
- Clone this repo with
git clone https://github.com/paidforby/p5-starter
- Move into the repo with
cd p5-starter
or copy the contents in to a different folder - Create local copies of the p5 libraries with
./requirments.sh
- Start a webserver with
python -m SimpleHTTPServer 8000
or another preferred webserver - In a web browser, open http://localhost:8000
Now start messing with the main.js
file to modify the script being run.
A good place to look for ideas and examples is in the p5.js reference materials, https://p5js.org/reference/