# vtk-wasm **Repository Path**: mirrors_Kitware/vtk-wasm ## Basic Information - **Project Name**: vtk-wasm - **Description**: Javascript library for 3D scientific visualization through VTK.wasm - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-03 - **Last Updated**: 2026-06-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # @kitware/vtk-wasm JavaScript bindings for loading and driving [VTK](https://www.vtk.org) compiled to WebAssembly — build 3D visualizations in the browser with no C++ required. **Full documentation, guides, and API reference:** https://kitware.github.io/vtk-wasm/ ## Usage Install the package: ```bash npm install @kitware/vtk-wasm ``` Load the runtime, create a session, and use its `vtk` namespace: ```js import { loadAsync } from "@kitware/vtk-wasm"; const runtime = await loadAsync({ url: VTK_WASM_BUNDLE_URL }); const session = runtime.createStandaloneSession(); const vtk = session.vtk; const cone = vtk.vtkConeSource(); // ... build and render your scene ``` No build step? Load the UMD bundle from a CDN and use the global `vtkwasm`: ```html ``` See the [Loading VTK.wasm guide](https://kitware.github.io/vtk-wasm/guide/js/loading) to get started and the [API reference](https://kitware.github.io/vtk-wasm/api/) for every export. ## Contributing Requires [Node.js](https://nodejs.org/) (LTS). ```bash npm install # install dependencies npm run build # build the ESM + UMD bundles into dist/ npm run docs:dev # run the documentation site locally npm run lint # lint the source ``` ### Repository layout - `src/` — library source. - `examples/` — example applications. - `docs/` — documentation site (VitePress); the API reference is generated from source JSDoc. - `dist/` — build output.