p5js

1.2.18 • Public • Published

The p5.js CLI

Build and Publish npm GitHub Dependencies Status Last Commit Download Total

This p5.js CLI helps you to manage p5.js sketches quickly and easily:

  • creating p5.js sketches in ~/Sketches directory.
  • open your sketch with VS code and start to code.
  • serving them in your browser with hot reloading.

🐙 Install

npm i -g p5js

💪 Upgrade this CLI to the latest version.

npm update -g p5js

💡 Usage

Create a new sketch, start coding and serving at once.

p5js new <sketch> --run

🎉 Congratulations! Now you can edit the sketch.js file to show your creativity!


🔍 List all your sketches.

p5js list

🐝 Open sketch with VS code.

p5js code <sketch> [--run]

🐎 Serve an exsiting sketch.

p5js run <sketch> [--code]

❤️ You are welcome to discover more.

p5js [command] --help

Readme

Keywords

Package Sidebar

Install

npm i p5js

Weekly Downloads

38

Version

1.2.18

License

MIT

Unpacked Size

5.87 MB

Total Files

9

Last publish

Collaborators

  • archtaurus