Libraries
p5.js
p5@2.0.2
Creative coding (p5 2.x). For byte-light sketches see prefab-sketch.
- Version
- 2.0.2
- License
- LGPL-2.1
- Size
- 309 KB
Add it
Declare it in prototir.json at the root of your ZIP. Prototir checks the
version at upload and adds it to the page's import map.
prototir.json
{
"modules": [
"p5@2.0.2"
]
}Then import it by name, from 'p5', as you would from npm.
Reference
Prototir serves the library unchanged, so its own documentation applies.
p5.js documentationVersions
Every version stays available, so a prototype keeps working exactly as published. Declare the one you tested with.
p5@2.0.2
As JSON: /modules/p5.json. Source: npm:p5 (esbuild-bundled — no single-file browser ESM shipped; see tools/bundle-vendor.mjs).