streamkit-pointcloud 0.1.0-alpha.0 → 0.1.0-alpha.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 CHANGED
@@ -1,9 +1,9 @@
1
- # @streamkit/pointcloud
1
+ # streamkit-pointcloud
2
2
 
3
3
  Production-ready PointCloud rendering kit for Three.js.
4
4
 
5
- [![Version](https://img.shields.io/npm/v/@streamkit/pointcloud)](https://www.npmjs.com/package/@streamkit/pointcloud)
6
- [![License](https://img.shields.io/npm/l/@streamkit/pointcloud)](./LICENSE)
5
+ [![Version](https://img.shields.io/npm/v/streamkit-pointcloud)](https://www.npmjs.com/package/streamkit-pointcloud)
6
+ [![License](https://img.shields.io/npm/l/streamkit-pointcloud)](./LICENSE)
7
7
 
8
8
  ## What This Package Is
9
9
 
@@ -25,7 +25,7 @@ This is v0.1 foundation code. Streaming capabilities will be added in future ver
25
25
  ## Installation
26
26
 
27
27
  ```bash
28
- npm install @streamkit/pointcloud three
28
+ npm install streamkit-pointcloud three
29
29
  ```
30
30
 
31
31
  ## Requirements
@@ -38,7 +38,7 @@ npm install @streamkit/pointcloud three
38
38
 
39
39
  ```typescript
40
40
  import * as THREE from "three";
41
- import { createPointCloudLayer } from "@streamkit/pointcloud";
41
+ import { createPointCloudLayer } from "streamkit-pointcloud";
42
42
 
43
43
  // Set up Three.js scene
44
44
  const scene = new THREE.Scene();
@@ -174,7 +174,7 @@ interface PointCloudFrame {
174
174
  Decodes Draco-compressed point cloud data.
175
175
 
176
176
  ```typescript
177
- import { decodeDraco } from "@streamkit/pointcloud";
177
+ import { decodeDraco } from "streamkit-pointcloud";
178
178
 
179
179
  const response = await fetch("pointcloud.drc");
180
180
  const buffer = await response.arrayBuffer();
@@ -194,7 +194,7 @@ If colors are not present in the Draco file, fallback colors are generated based
194
194
  Pre-loads the Draco WASM module for faster first decode.
195
195
 
196
196
  ```typescript
197
- import { preloadDracoDecoder } from "@streamkit/pointcloud";
197
+ import { preloadDracoDecoder } from "streamkit-pointcloud";
198
198
 
199
199
  // Call early in your app
200
200
  await preloadDracoDecoder();
@@ -212,7 +212,7 @@ import {
212
212
  hasMatchingColorCount,
213
213
  normalizeColorValue,
214
214
  clampColorValue,
215
- } from "@streamkit/pointcloud";
215
+ } from "streamkit-pointcloud";
216
216
 
217
217
  // Validate incoming data
218
218
  if (isValidPointCloudData(data)) {
@@ -328,7 +328,7 @@ import type {
328
328
  PointCloudUpdateMode,
329
329
  PointCloudUpdateOptions,
330
330
  DracoDecoderOptions,
331
- } from "@streamkit/pointcloud";
331
+ } from "streamkit-pointcloud";
332
332
  ```
333
333
 
334
334
  ## Browser Support
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @streamkit/pointcloud - Three.js PointCloud Layer
2
+ * streamkit-pointcloud - Three.js PointCloud Layer
3
3
  *
4
4
  * High-performance point cloud rendering layer for Three.js.
5
5
  * Manages geometry, material, and lifecycle for point cloud visualization.
@@ -17,7 +17,7 @@ import type { PointCloudLayer, PointCloudLayerOptions } from "../types.js";
17
17
  * @example
18
18
  * ```typescript
19
19
  * import * as THREE from 'three'
20
- * import { createPointCloudLayer } from '@streamkit/pointcloud'
20
+ * import { createPointCloudLayer } from 'streamkit-pointcloud'
21
21
  *import { ThreeBufferGeometryLike } from './three-types';
22
22
 
23
23
  * const scene = new THREE.Scene()
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @streamkit/pointcloud - Three.js PointCloud Layer
2
+ * streamkit-pointcloud - Three.js PointCloud Layer
3
3
  *
4
4
  * High-performance point cloud rendering layer for Three.js.
5
5
  * Manages geometry, material, and lifecycle for point cloud visualization.
@@ -180,7 +180,7 @@ function updateMaterial(material, data, defaultSize, defaultColor) {
180
180
  * @example
181
181
  * ```typescript
182
182
  * import * as THREE from 'three'
183
- * import { createPointCloudLayer } from '@streamkit/pointcloud'
183
+ * import { createPointCloudLayer } from 'streamkit-pointcloud'
184
184
  *import { ThreeBufferGeometryLike } from './three-types';
185
185
 
186
186
  * const scene = new THREE.Scene()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "streamkit-pointcloud",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.1",
4
4
  "description": "Production-ready PointCloud rendering kit for Three.js and real-time streaming",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",