Using WebAssembly#
VTK-Wasm is a prototype infrastructure that enables the compilation of VTK C++ code to WebAssembly via Emscripten. This feature is still under active development.
To learn more about VTK-Wasm and its capabilities, please take a look at the following resources:
Examples of WebAssembly applications that use VTK for rendering.
A guide on using the experimental WebGPU feature in VTK-Wasm..
Instructions for building VTK using Emscripten for WebAssembly.
vtk-wasm-sdk for building and publishing the
kitware/vtk-wasm-sdkdocker images.Deep dive into WebAssembly & WebGPU in VTK: presentation from April 28th, 2023. This presentation covers topics such as Emscripten, VTK-wasm Docker image, WASM Dev tools, VTK and WebGPU: PolyData Mapper, API inspection with RenderDoc, and performance profiles.
We welcome your feedback and contributions to this project. Feel free to share your experiences, questions, and ideas in the web/vtk-wasm category of the VTK Discourse forum. Stay tuned for updates and new developments!