npm.io
0.1.0-alpha.2 • Published 1 year ago

@cesium/wasm-splats

Licence
Apache-2.0
Version
0.1.0-alpha.2
Deps
0
Size
40 kB
Vulns
0
Weekly
0
Stars
15

wasm-splats

wasm-splats CI npm

The wasm-splats package contains high-performance algorithms used in the rendering of Gaussian Splats in CesiumJS.

Getting Started

Follow the instructions in the cesium-wasm-utils README to clone the repository and install prerequisites.

Building

To build the package, run:

wasm-pack build --release --target web --scope cesium

This will output a pkg directory containing the compiled WebAssembly module and JavaScript bindings.

Testing

To run the unit and integration tests, run:

wasm-pack test --headless --chrome --firefox

In macOS, you can also add --safari to run the tests in Safari.