Files
cheatsheet-tldr/tldr/p5

26 lines
477 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# p5
> Template builder and sketch manager for p5.js.
> More information: <https://github.com/chiunhau/p5-manager>.
- Create a new p5 collection:
`p5 new {{collection_name}}`
- Generate a new p5 project (should be run from collection directory):
`p5 generate {{project_name}}`
- Run the p5 manager server:
`p5 server`
- Update libraries to their latest versions:
`p5 update`