p5ex.js
An extension of p5.js.
Usage
Install
npm install p5ex --save
Load
Both ES6 module and UMD (and also their minified versions) are available.
Note: p5.js must be loaded before loading p5ex.
import * as p5ex from 'p5ex';
<script src="(your directory path)/p5ex.min.js"></script>
Create
Create a p5ex instance by new p5exClass(); instead of new p5();.
For details, refer to documents about instance mode of p5.js.
new p5ex.p5exClass([sketch[, node[, sync]]]);
new p5ex.p5exClass([sketch[, sync]]);
sketch(p5exInstance);
Reference
See doc/index.html (very rough for now)