Skip to content

Utkub24/conway-webgpu-electron

Repository files navigation

conway-webgpu-electron

Conway's Game of Life w/ WebGPU in Electron. Made following this great tutorial.

Project Setup

Install

Use pnpm for package management

$ pnpm install

Run

For the dev build:

$ pnpm dev

or

$ pnpm start

Build

# For windows
$ pnpm build:win

# For macOS
$ pnpm build:mac

# For Linux
$ pnpm build:linux

Why ...

WebGPU?

It's cool new tech.

Electron?

Just trying it out, no reason.

not Tauri?

Tauri uses WebKitGTK for WebView on Linux, which currently does not to support WebGPU.

Electron uses Chromium which has support for it under the flag enable-unsafe-webgpu (+ enable-features=Vulkan on Linux).

In the future

  • Functioning controls
  • User input
  • Three dimensions :O

About

Conway's Game of Life w/ WebGPU in Electron

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors