Introduction to vtk.js
mastervtk.js is a JavaScript (ES6) rewrite of the Visualization Toolkit (VTK), designed for 3D rendering in web environments using WebGL and WebGPU. It provides a rendering pipeline for ImageData and PolyData, pipeline infrastructure, and support for common file readers such as .obj, .stl, .vtp, and .vti.
While it is a subset of the original C++ VTK library, it provides the necessary infrastructure to define custom pipelines and filters. It can also be used in conjunction with remote VTK/ParaView servers to enable remote rendering or synchronized content by pushing geometry from a server to a local vtk.js RenderWindow.