this post was submitted on 24 Feb 2026
54 points (98.2% liked)
196
19160 readers
411 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
Other rules
Behavior rules:
- No bigotry (transphobia, racism, etc…)
- No genocide denial
- No support for authoritarian behaviour (incl. Tankies)
- No namecalling
- Accounts from lemmygrad.ml, threads.net, or hexbear.net are held to higher standards
- Other things seen as cleary bad
Posting rules:
- No AI generated content (DALL-E etc…)
- No advertisements
- No gore / violence
- Mutual aid posts are not allowed
NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.
If you have any questions, feel free to contact us on our matrix channel or email.
Other 196's:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, this is one of Wolfram's "elementary cellular automata". This is "rule 30". It's actually a one-dimensional cellular automata. Only neighbors to the left and right are considered. The Y axis represent time / generations / iterations.
So there are 256 possible rules. Each represented by an 8-bit unsigned integer in ASCII format.
The "scenarios" are statically defined like this:
And we can use a binary number like this to map scenario outcomes to create a rule set.
Where each bit describes the outcome of the scenario.
So if all neighbors are alive (111) the next generation is dead (0). If the left neighbor is alive but right is not (110) the next generation is alive (1).
I'm improving my software and I think some of the changes I've made can make the simulation more clear and also more aesthetic.
In these images, up arrows are alive cells and down arrows are dead cells. I also included 2 images with the "links" feature enabled that shows the links between alive and dead cells across generations.
Bonus (this just looks cool):