@dtour/scatter 0.1.0 → 0.3.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../src/selection.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GACzB,SAAS,SAAS,CAAC,MAAM,CAAC,EAC1B,WAAW,MAAM,KAChB,WAUF,CAAC"}
1
+ {"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../src/selection.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GAAI,SAAS,SAAS,CAAC,MAAM,CAAC,EAAE,WAAW,MAAM,KAAG,WAU9E,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ScatterInstance, ScatterOptions } from '../gpu/client.ts';
2
+ /**
3
+ * Create a scatter renderer instance using the WebGL2 backend.
4
+ *
5
+ * Same API as `createScatter` (WebGPU) — instantiates a WebGL Worker
6
+ * and Data Worker, connects them via a MessageChannel, and transfers
7
+ * OffscreenCanvas control to the WebGL worker.
8
+ */
9
+ export declare const createScatterWebGL: (options: ScatterOptions) => ScatterInstance;
10
+ //# sourceMappingURL=client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/webgl/client.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAiB,MAAM,kBAAkB,CAAC;AAWvF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,SAAS,cAAc,KAAG,eA2V5D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=worker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../src/webgl/worker.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dtour/scatter",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/scatter.js",
6
6
  "module": "./dist/scatter.js",
@@ -11,18 +11,25 @@
11
11
  "types": "./dist/index.d.ts"
12
12
  }
13
13
  },
14
- "files": ["dist"],
15
- "scripts": {
16
- "build": "vite build && tsc --emitDeclarationOnly --declaration --outDir dist",
17
- "dev": "vite build --watch"
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/flekschas/dtour",
17
+ "directory": "packages/scatter"
18
18
  },
19
+ "files": [
20
+ "dist"
21
+ ],
19
22
  "dependencies": {
20
- "@uwdata/flechette": "catalog:",
23
+ "@uwdata/flechette": "^2.3.0",
21
24
  "hyparquet": "^1.25.0",
22
25
  "hyparquet-compressors": "^1.1.1"
23
26
  },
24
27
  "devDependencies": {
25
28
  "@webgpu/types": "^0.1.54",
26
- "vite": "catalog:"
29
+ "vite": "^8.0.0"
30
+ },
31
+ "scripts": {
32
+ "build": "vite build && tsc --emitDeclarationOnly --declaration --outDir dist",
33
+ "dev": "vite build --watch"
27
34
  }
28
- }
35
+ }