You can convert your meshes to an image and use VTK’s GPU volume raycast mapper for processing. You may use custom shaders for computation and the rendered image can return the results. For more abstract computations, you may use compute shaders (for example, you might give this new webGPU compute shader class a try).