@munusshih/p5.export 0.1.0-beta.0 → 0.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,19 +10,19 @@ Works with **p5.js 1.x and 2.x**. p5 is brought by you (CDN or bundler); this pa
|
|
|
10
10
|
|
|
11
11
|
```html
|
|
12
12
|
<script src="https://cdn.jsdelivr.net/npm/p5@2/lib/p5.js"></script>
|
|
13
|
-
<script src="https://cdn.jsdelivr.net/npm/p5.export"></script>
|
|
13
|
+
<script src="https://cdn.jsdelivr.net/npm/@munusshih/p5.export"></script>
|
|
14
14
|
<script src="sketch.js"></script>
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
### npm + bundler
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npm install p5.export
|
|
20
|
+
npm install @munusshih/p5.export
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
```js
|
|
24
24
|
import 'p5'; // however you bring p5 onto the page
|
|
25
|
-
import 'p5.export'; // auto-registers against the global p5
|
|
25
|
+
import '@munusshih/p5.export'; // auto-registers against the global p5
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
That's it. The GUI auto-mounts after `setup()` runs. Disable it with `window.p5ExportConfig = { autoGUI: false }` declared before this script loads, or remove it later with `removeExportGUI()`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@munusshih/p5.export",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.1",
|
|
4
4
|
"description": "A p5.js add-on for plug-and-play exports: PNG, JPG, WebP, animated WebP, GIF, MP4, WebM, SVG, PDF, STL, OBJ",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/p5.export.min.js",
|