https://github.com/kitware/vtk-wasm-demos
A collection of VTK.wasm demo applications
https://github.com/kitware/vtk-wasm-demos
vtk webassembly webgl webgpu
Last synced: 3 months ago
JSON representation
A collection of VTK.wasm demo applications
- Host: GitHub
- URL: https://github.com/kitware/vtk-wasm-demos
- Owner: Kitware
- License: apache-2.0
- Created: 2023-05-30T16:01:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-11T23:13:02.000Z (8 months ago)
- Last Synced: 2025-05-17T00:37:33.432Z (5 months ago)
- Topics: vtk, webassembly, webgl, webgpu
- Language: C++
- Homepage: https://kitware.github.io/vtk-wasm-demos/
- Size: 195 KB
- Stars: 22
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Project setup
## Requirements
1. docker
2. python## Usage
```sh
python ./build.py [-h]
usage: build.py [-h] [-c SDK_CONFIG] [-i SDK_IMAGE] [-a SDK_IMAGE_ARCH] [-t COMMIT_HASH] [-d SDK_DIR]Build with VTK SDK for WebAssembly.
options:
-h, --help show this help message and exit
-c SDK_CONFIG, --sdk_config SDK_CONFIG
-i SDK_IMAGE, --sdk_image SDK_IMAGE
-a SDK_IMAGE_ARCH, --sdk_image_arch SDK_IMAGE_ARCH
-t COMMIT_HASH, --commit_hash COMMIT_HASH
-d SDK_DIR, --sdk_dir SDK_DIR
```## Build
When run without any arguments, the defaults are used for the vtk-wasm-sdk docker image tag and VTK repository commit hash where the examples are downloaded from.
```sh
python ./build.py
```