Automation experiment based on WebGPU, using random rules of 3x3 grid.
Extend source from https://webgpu.github.io/webgpu-samples/samples/gameOfLife#main.ts .
Live version https://webgpu.art/fungi . By default, it uses a random rule on every click or reload.
Params:
grid
: size of the gridslow
: delay between framesrule
: rule to apply, using hex notation