Conway's Game of Life, in real life
211 points
9 hours ago
| 29 comments
| lcamtuf.substack.com
| HN
kanapala
3 minutes ago
[-]
Technology Will Save Us, from a brighter past, produced the Arcade Coder as their swan song. It had 12×12 tactile buttons with color leds inside, a companion app to program it with scratch like code blocks, and interactive tutorials. It's ESP32 based. There's an effort to continue it's life, ast the app was on the app store for a brief time. https://github.com/padraigfl/twsu-arcade-coder-esp32
reply
kangalioo
1 hour ago
[-]
A much cheaper way might have been to buy a couple of Novation Launchpads. 8x8 full RGB tactile buttons for 90€, MIDI-controllable. Four of those next to another for 16x16 at 360€ plus a little bit for cables and controller comes out at 1/3 the price
reply
Nevermark
29 minutes ago
[-]
This is fantastic.

I happen to own a physical pong table. Everyone loves it. [0] There is something magical about material and only-does-one-thing instantiations of digital things.

——

I am really looking forward to a flat table top screen consisting of millions of magnetically-controlled vertical-extruding rod pixels, with actual color controlled pixels along their length. For an amazing table display/extrusion of D&D dungeons and terrain, for miniatures.

A little sensor ability, and when the extrusion "scrolls" laterally, it could create little lips that move the miniatures too, so they stay "in place". And move NPCs around at the DMs direction. Now turn of the room lights, and use the light pixels not just for color, but for lighting effects like wall lamps flickering, add spooky position-distributed sounds...

That has to be coming soon, right?

Some part of me wants to describe it Claude, iterate, and say "Now polish that design, economically optimize the parts, link in the supply chain, and ship me the first review unit." That has to be coming soon, right?

The lines separating planes of reality, they are a blurring, quickly.

——

[0] https://www.youtube.com/watch?v=84Ymt9BAq5s

reply
exolab
5 hours ago
[-]
> I figured out what would be a reasonable amount to spend on the project and then multiplied that by 10.

I like the way you think.

reply
alexpotato
2 hours ago
[-]
Jeff Atwood has a great quote:

"I needed to replace 18 lightbulbs in my chandelier. Turns out 18 times any number is a lot. In cash"

reply
alexb_
4 minutes ago
[-]
This isn't what this is about, but I wonder if anyone has created a fully mechanized version of Conway's Game of Life. The fact that you only have to follow 4 rules, and each cell only needs to observe its neighbors to follow those rules, makes me wonder if it's possible to track these things mechanically. I unfortunately don't know enough about mechanical engineering to do such a thing.
reply
mittermayr
3 hours ago
[-]
Totally off-topic, and I may be wrong, but I immediately loved the non-LLM writing-style and felt glued to the content just through the writing alone. It's getting rare.
reply
Lerc
2 hours ago
[-]
I have not felt that it was becoming rare. Certainly on platforms like YouTube you can see automated processes cranking blandness at scale. I haven't found it encroaching on the topics that interest me like toy electronic projects, how some ancient game rendered its Sprites, colour space analysis, or a compiler that fits in a tweet,

I'm sure there are an abundant source of 'How I hustled a thumpawangy into $1000 a month in subscriptions" written by AI, but I doubt I could perceive a loss in that compared to the ones we had before.

reply
tmountain
2 hours ago
[-]
Personally, I can barely stomach reading LLM writing. I find myself closing lots of articles after a sentence or two. I wonder how this plays out longer-term regarding engagement.
reply
jerf
22 minutes ago
[-]
In probably another year or two I expect the metrics will show that it is a positive turn off. Unfortunately we're on the cutting edge of this particular movement and there's still a lot more "value" to be "extracted" from the general public before they all get wise to it too.

The next problem we'll face after that, with the 1-2 years newer AIs of the time, is that the default LLM voice is just a particular affectation created by the training, not "the voice of LLMs" or anything. It's trivial to kick them into a different style. I just used AI to do some architecture design documents this week, and prompted it to first look at about 1-2k words that I wrote myself all organically for the style. The good news is the resulting documents almost, but admittedly, not quite entirely, lack that LLM style. They're still prone to more bullet lists than I use directly; then again, in this context they were fairly appropriate, so I'm not too triggered by the result.

The bad news is, that's all it takes to make AI writing that isn't in that default tone. It's not that hard. Students cheating on essays have already figured it out, the spammers really can't be that far behind. Probably more stuff than we realize is already AI output, it's just the stragglers and those who don't really care (which I imagine is a lot of spammers, after all) who are still failing to tweak the style. They'll catch up as soon as engagement falls off.

reply
zytek
3 hours ago
[-]
lcamtuf is doing that for decades!
reply
mvrckhckr
12 minutes ago
[-]
Great idea and execution. I like your thinking.
reply
eps
5 hours ago
[-]
I saw one in a computer museum in Switzerland. It was a much larger field, it was just large orange LEDs (or were they tubes?), but it also cycled between a dozen of different cell automata games. Something about being able to see individual "pixels" made it really mesmerizing.
reply
meindnoch
5 minutes ago
[-]
Eh. I thought they had somehow created a physical realization of Conway's Game of Life.
reply
smcameron
1 hour ago
[-]
Something like those switches might be made very cheaply with a 3D printer, possibly a laser cutter, some transparent or semitransparent acrylic sheet, tactile switches and some LEDs. I designed a cheapo replacement for $50 tellite switches and got the price down to about $0.60 Not quite the same, as these are a lot bigger, and getting things down to the desired size might be troublesome. Anyway, here's a little video of my fake cheapo tellite switches: https://www.youtube.com/watch?v=LaenrgPVCjc
reply
Tepix
36 minutes ago
[-]
Lovely project indeed. If you want to build your own: I found a whole bunch of much cheaper illuminated switches on AliExpress within minutes.
reply
cjfd
4 hours ago
[-]
When I was a teenager, I read a book about assembly language for the commodore and implemented the game of life in a really simple way. I just used the text screen. To switch on a cell, I would put an asterisk ('*') in it. Then I could run my machine code program and it would evolve according to the rules of the game of life.
reply
jerf
17 minutes ago
[-]
The answer to a lot of "wow, how did the 8-bit machine pull that off? it seems like that would eat a lot of RAM" is that the framebuffer is the data storage. You were literally looking at the primary data store itself, because when a full-resolution framebuffer was 1/4th your addressable RAM (and slightly more than that for your actual RAM since you couldn't ever quite use all 64KB no matter how you mapped it), you need to get the most bang for the buck out of that RAM usage as you can.
reply
abcd_f
4 hours ago
[-]
And who didn't do that! :)

You could also 4x the resolution by using half- and quarter-block characters from the top half of the ASCII table (or it'd be the PETSCII one i C64 case).

reply
lproven
2 hours ago
[-]
> And who didn't do that! :)

Exactly. It's even how I taught myself extremely basic Pascal -- getting my BASIC Life program running in Pascal. With asterisks.

A taught a friend at uni, who was a much better programmer than me, how the algorithm worked. He did a pixel-by-pixel version in machine code, but it was a bit slow on a ZX Spectrum.

So he did exactly the quarter-character-cell version you describe. I wrote the editor in BASIC, and he wrote a machine-code routine that kicked in when told and ran the generations. For extra fun he emitted some of the intermediate state to the border, so the border flashed stripes of colour as it calculated, so you could see it "thinking". Handy for static patterns -- you could see it hadn't crashed.

I've been considering doing a quarter-cell Mandelbrot for about 30Y now. Never got round to it yet.

reply
PetitPrince
6 hours ago
[-]
My Alma matter has a jumbo version of this, in which the game if life is one of several available mode https://en.wikipedia.org/wiki/BioWall
reply
MrGilbert
1 hour ago
[-]
I wonder if going for keyboard switches with RGB could bring the price down, if you then either print the keycaps yourself, our use a 3d printing service. 23 Cherry MX switches cost 20€, that‘s roughly 260€ for a 17x17 matrix.
reply
waterproof
1 hour ago
[-]
Should be doable to implement GoL on an ortholinear RGB keyboard using QMK
reply
MrGilbert
4 minutes ago
[-]
I mean - that sounds like an awesome project in itself!
reply
mastermedo
5 hours ago
[-]
A thousand bucks for 17x17 touchscreen. Add a painting frame, hang it on the wall, and you made yourself amazing art for cheap.
reply
Cthulhu_
4 hours ago
[-]
I love this and would love to see it on a wall at our office or something like that. Maybe there's smaller/cheaper led/switches that would work in a handheld version.
reply
possiblydrunk
3 hours ago
[-]
Nicely done! Scale matters. If you make something big enough relative to its expected size, it will impress and captivate, even if it's simple. General observation, not that the construction here was by any means simple.
reply
vunderba
8 hours ago
[-]
Nice. A friend of mine just picked up a Linnstrument, and I’m very tempted to create a Conway’s Game of Life-based musical visualization for it.

https://www.rogerlinndesign.com/linnstrument

reply
Cthulhu_
4 hours ago
[-]
Neat! For homebrew / "iot" stuff, there's LED button panels like https://www.adafruit.com/product/1929 that could work.
reply
slow_typist
5 hours ago
[-]
Très cool.

A grid of capacitive touch sensors could be printed directly on the pcb, bringing down costs by a degree of magnitude. Real switches are much more satisfying though.

reply
f1shy
5 hours ago
[-]
I want to do a game like lights out. I'm thinking in 3d printing transparent caps and using dirt chip pcb switches and standard leds. The cost must be also down to 30 cts. Would be like a middle ground.
reply
lproven
2 hours ago
[-]
This is fantastic, but there's no way I am taking the time to build one, and the cost is a little frightening...
reply
jFriedensreich
1 hour ago
[-]
how is this real life more than a monitor, its just bigger pixels. i was expecting programmable live cells or something mechanical
reply
waterproof
1 hour ago
[-]
Check out the video - you can draw on the game by pressing the switches.
reply
rojoroboto
2 hours ago
[-]
I bet that the author would really get a kick out of the T2 Tile Project.
reply
galaxyLogic
6 hours ago
[-]
I wonder is there a version GoL where every bit on a computer-display or LCD TV is one cell? How does it look?
reply
alex_duf
5 hours ago
[-]
Do you mean every pixel or every sub-pixel? Sub-pixel is interesting because the geometry of the grid isn't going to be the same from one screen to the other. It might also look compressed horizontally.
reply
eps
5 hours ago
[-]
Conversely, it'd be cool to play it on an large empty office building.

One window = one pixel.

reply
slow_typist
4 hours ago
[-]
reply
zuiko_39182
48 minutes ago
[-]
this matches my experience exactly
reply
CJefferson
6 hours ago
[-]
I've always wanted something like this board, buttons which can light up (preferably a few colours), to use to make games. Anyone ever found such a board which is hackable / programmable?
reply
rmnclmnt
5 hours ago
[-]
Novation Launchpad used to be exactly that: you send MIDI CC messages with proper values and you can light up the grid (with different colors).

Did that a few years back, i guess this might still be possible

reply
1313ed01
5 hours ago
[-]
> used to be

Looks like they are still around? https://novationmusic.com/launchpad

Also seems to be in stock locally.

The device that I think popularized that design (citation needed) was the Monome (https://monome.org/) that looks like it is also still around and it has (always had?) some kind of open source license (https://github.com/monome).

reply
Cthulhu_
4 hours ago
[-]
https://www.adafruit.com/category/280, they're ready made from 4x4 to 16x8 but in theory you can just put more modules into an enclosure.
reply
fwipsy
7 hours ago
[-]
I don't want to build this or pay for it, but I really want to mess with it for an hour.
reply
nsnzjznzbx
3 hours ago
[-]
You need a science museum!
reply
mkirsten
4 hours ago
[-]
It is beautiful
reply
self_awareness
5 hours ago
[-]
That's not a "physical" version of game of life -- that's a digital version, like every version, but with bigger pixels.
reply
Cthulhu_
4 hours ago
[-]
Does make me wonder if it's possible to make a physical / analog / mechanical version of Game of Life.

fake edit: yes, kind of: https://www.eurobricks.com/forum/forums/topic/164622-moc-mec...

reply
zabzonk
3 hours ago
[-]
sure is - i made one using poker chips and a chessboard - i had to do the computations using my own brain though :-(

https://latedev.wordpress.com/2011/06/25/a-poker-chip-comput...

reply
gspr
4 hours ago
[-]
I think "physical" refers to the fact that you initialize the state by pressing physical buttons. That's quite accurate.
reply
Traubenfuchs
4 hours ago
[-]
Would be interesting to do this with people and observe the inevitable mistakes they make.

Now that would be simulating life witg life.

reply
ordu
3 hours ago
[-]
Well, people can die if they have too many or too little of neighbors, but they can't be summoned from a thin air if they have just enough neighbors. Hard to simulate life with people. Though if you are ready for a simulation step of 20 years or so... But it still may not work, because you need people of two opposing sexes and compatible genders near the empty sell to fill it. In Game of Life all cells are hermaphrodites.

But I agree mistakes might be fun to watch.

reply