svelte-p5-viz 0.2.0 → 0.2.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 +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,6 +6,14 @@
|
|
|
6
6
|
pnpm add svelte-p5-viz svelte-p5 p5
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
+
To test an unreleased commit, install the preview build from [pkg.pr.new](https://pkg.pr.new/):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pnpm add \
|
|
13
|
+
https://pkg.pr.new/edw1nzhao/svelte-p5/svelte-p5-viz@main \
|
|
14
|
+
https://pkg.pr.new/edw1nzhao/svelte-p5/svelte-p5@main
|
|
15
|
+
```
|
|
16
|
+
|
|
9
17
|
## What this is
|
|
10
18
|
|
|
11
19
|
A set of TypeScript types and tiny runtime helpers that let multiple visualizations share one canvas, coordinate hover state, and serialize to JSON. It is deliberately thin: no actual visualization code ships in this package. Visualizations live in your app (or eventually in a separate viz-pack) and implement the contract below.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-p5-viz",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Visualization panel contract, registry, and scene-config types for svelte-p5. Composable, no-code-ready building blocks for canvas-based dashboards.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"svelte",
|