/webgpu-with-node-in-electron

use webgpu with node in electron

Primary LanguageJavaScriptMIT LicenseMIT

Using WebGPU with Node in Electron

Short version:

  1. Enable nodeIntegration in Electron
  2. Use WebGPU in a page
  3. Profit!

Note: You can create background windows. They do not need to visible to run.

How to run

git clone https://github.com/greggman/webgpu-with-node-in-electron.git
cd webgpu-with-node-in-electron
npm ci
npm start

License: MIT