The p5.js CLI
This p5.js CLI helps you to manage p5.js sketches quickly and easily:
- creating p5.js sketches in
- open your sketch with VS code and start to code.
- serving them in your browser with hot reloading.
npm i -g p5js
npm update -g p5js
p5js new <sketch> --run
sketch.js file to show your creativity!
p5js code <sketch> [--run]
p5js run <sketch> [--code]
p5js [command] --help