We assembled a widget from 3D Slicer in the browser


Link to instruction and source code Instruction by 3dSlicer - Google Docs

Thanks for the information and instructions, this is very interesting because we often get questions about what options exists for running Slicer in the web browser. Running Slicer locally in a web browser (without a server backend) seemed very far fetched, but your experiments bring it closer to reality.

Which Slicer classes did you use? Did you have to modify them (e.g., remove dependency to MRML nodes)?

We implemented widget rendering using MRML and compiled the MRML source code as a static library for our WASM project. However, the main drawback is that this tool works quite slowly in WASM, and we have no idea why. We would appreciate any guidance on how to investigate this issue. More details can be found at Slowly rendering widget from 3D Slicer in wasm. The 3D Slicer code was slightly modified in the MRML area (some methods were made public). If interested, I can provide more details about these changes