7

Part 2 is basically running just the isolation rule from Conway's game of life until the world state stabilizes. I'm curious if anyone noticed this and used an existing cellular automata program or library to handle the computation.

you are viewing a single comment's thread
view the rest of the comments
[-] Jayjader@jlai.lu 2 points 2 months ago

Another approach could be to run an image convolution kernel in GIMP (or some other image manipulation program). Something like

[
 1, 1, 1
 1, 0, 1
 1, 1, 1
]

and then filter pixels based on ≥4 or <4

this post was submitted on 12 Dec 2025
7 points (100.0% liked)

Advent Of Code

1223 readers
2 users here now

An unofficial home for the advent of code community on programming.dev! Other challenges are also welcome!

Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

Everybody Codes is another collection of programming puzzles with seasonal events.

EC 2025

AoC 2025

Solution Threads

M T W T F S S
1 2 3 4 5 6 7
8 9 10 11 12

Visualisations Megathread

Rules/Guidelines

Relevant Communities

Relevant Links

Credits

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

console.log('Hello World')

founded 2 years ago
MODERATORS