I successed to run Vulkan on Electron

I successed to run Vulkan on Electron and used such a method.

  1. I make GLFW and Vulkan programs into DLLs.
  2. Program of GLFW and Vulkan makes the Image. the Image is created as a screenshot.
    I reffer to this program.
  3. The image is encoded JPEG format. Additionally, Image on JPEG format is encoded Base 64. I used libjpeg-turbo and boost.
  4. Image on Base64 format is shown on Canvas 2d in HTML.

The problem is that this program is too slow. Also, I have no idea what this program is useful for.