HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

p5 — Template builder and sketch manager for p5.js. More information: <https://github.com/chiunhau/p5-man

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandp5templateandclibuildersketchmanager

Problem

How to use the p5 command: Template builder and sketch manager for p5.js. More information: <https://github.com/chiunhau/p5-manager>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/p5

Revisions (0)

No revisions yet.