Skip to content

Latest commit

 

History

29 Commits

Folders and files

Repository files navigation

WebGPU Game of Life

Live here: https://frguthmann.github.io/GameOfLife_WebGPU/?grid_size=64. You can modify the url to test different grid sizes.

A simple experiment using WebGPU. The entire logic for the game is handled inside a compute shader, the CPU simply asks the GPU to swap buffers.

At the time of writing, this works in Chrome Canary (81) on windows by enabling the WebGPU flag: chrome://flags/#enable-unsafe-webgpu.

Big shoutout to the people behind WebGPU samples, this code is heavily based on theirs. https://github.com/austinEng/webgpu-samples

About

A Game Of Life GPU implementation using WebGPU

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages