Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGPU Game of Life

Implementation of Conway's Game of Life using WebGPU.

Gif

Controls

  • Update interval: use the slider to change the simulation tick rate (16–1000 ms).
  • Click to create: click a cell on the canvas to make it alive immediately (without advancing the simulation step).

Rules (Conway's Game of Life)

  • Any cell with fewer than two neighbors becomes inactive.
  • Any active cell with two or three neighbors stays active.
  • Any inactive cell with exactly three neighbors becomes active.
  • Any cell with more than three neighbors becomes inactive.

Troubleshooting

If you see "WebGPU not available":

  • Use a recent Chrome/Edge or another browser with WebGPU support (Check here: https://caniuse.com/webgpu).
  • Go to chrome://flags/ (or your browser flags) and enable "Unsafe WebGPU".

About

Implementation of Conway's Game of Life using WebGPU.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages