It would be cool if you could talk to the graphics driver and other IO devices directly from NodeJS. I guess it would require a layer for cross platform standardization. But would be awesome if you could make a Graphics engine in NodeJS that just worked everywhere.
I've tried some of the graphics packages for nodeJS but failed at installing their dependencies. I want something that just works or installable via NPM.
I know that some medical image viewers use server side rendering for segmented volumes. Such tasks are computationally intensive and usually involves very large datasets. With server side rendering, you can easily and efficiently stream videos or even JPEGs to thin clients such as mobile devices.
It looks like it uses whatever native implementation of EGL there is behindt he scenes. So it should be hardware accelerated if there is a GPU on your server.
As for whether you can stream the output, looks like you can with `gl.readPixels`, but you'll probably want to compress it somehow. Sending a raw video stream is heavy.
Funny they mention a project called "node-webgl" being an opengl wrapper. Seems like they should have traded project names, since "headless-gl" sounds like an OpenGL thing and "node-webgl" sounds like a WebGL thing, while they're both the opposite! :)
I've tried some of the graphics packages for nodeJS but failed at installing their dependencies. I want something that just works or installable via NPM.