23 comments

[ 3.8 ms ] story [ 51.7 ms ] thread
(comment deleted)
Can you make it bigger? it is too small for glider gun :)
Done. Now it's double the size (50 x 50).

100 x 100 works too, although was noticeably slower.

Still blazing fast on iPhone
Interesting.

Is this intended as a way to implement the UX for GDPR cookies / tracking opt-in / opt-out screen. If so, it's brilliant.

"Configure this game of life to be 13 transitions before a state that spells 'Opt out' in block letters to opt out of cookie collection."
Plot twist: the 'Opt out' is only 12 transitions away from a Garden of Eden configuration, making it force opt in
Love the use of light blue color for the blinking cells! Surprisingly smooth UX considering we have checkboxes for cells.
li { height: 20px; width: 20px; }

input[type="checkbox"] { width: 20px; height: 20px; }

Now you can't even tell the difference between the real thing!

seems broken in my mobile browser
What browser are you using?

Work for me on Firefox/android

Runs ridiculously fast on my iPhone 14 Pro Max :)
We programmers mostly living in abstraction on top of abstraction have actually no idea how fast our computer has become.
Yes, a slower speed option would be good.
I did a similar design using Tcl w/ Tk ;)
there was a similar checkbox game of life at the top of HN earlier this week, albeit one operating under different rules

edit: i see that it’s back!!

(comment deleted)
That's cool but now do it with only html+css!

(jk this is already pretty cool! :D)

(comment deleted)
That's interesting, I recently wrote a game of life that uses PyTorch to run on the GPU:

https://gist.github.com/olooney/d835353176bd9a679ad2f057cd58...

It benefits from using PyTorch's 2D convolution operation but sufferers it has to keep casting types to get it to work. Still, it's quite fast for very large grids!

I implemented a version of game of life using 2D convolutions from scipy, I’d be curious to see how it compares to GPU crunching