#cellular automata
Explore tagged Tumblr posts
vedalkensamurai · 2 months ago
Text
Tumblr media
A lone knight sits in the center of the board. It gives birth to eight offspring, who each move away either two cells vertically and one horizontally, or one vertically and two horizontally, as is traditional for knights. The parent knight grows old and dies, and the young knights mature and give birth to offspring in their turn. But if two baby knights try to occupy the same cell, they compete for resources and neither survives past infancy.
181 notes · View notes
violetfractal · 2 months ago
Text
All of my work is inspired first by the work of John Conway. He pioneered the study of cellular automata, which are the tools I use to draw my fractals. A cellular automaton is a network of cells in which each cell processes its own output, so all computation is done locally. The global properties of a cellular automaton are all emergent properties.
Tumblr media
Conway’s game of life is played on a 2D grid that iterates in discrete steps. At each step each cell decides its new value by considering its previous value and the previous values of the 8 cells immediately adjacent. If exactly 3 adjacent cells had value 1, the cell’s new value becomes 1. If 2 adjacent cells had value 1 and the cell’s old value is 1, it stays 1. Otherwise the cell’s value becomes 0.
Tumblr media
It’s a tradition for me to code Conway’s game of life in each new programming language I learn - like Hello World part II. So this was spreadsheet was overdue! I implemented it in two formulas:
BM2=IF(OR(SUM(A1,A2,A3,B3,C3,C2,C1,B1)=3,AND(SUM(A1,A2,A3,B3,C3,C2,C1,B1)=2,B2=1)),1,0)
to play the game on sequential 63x64 grids and
A131=INDIRECT(“R”&SUM(ROW(A131),-64*2,-1)&“C”&SUM(COLUMN(A131),756*2),0)
to wrap the output to my window.
Tumblr media Tumblr media
The game of life is Turing-Complete. (You can run Doom on it.) How wonderful that simple rules can produce such complex behavior!
[Image ID: Four images. Each image shows Conway’s game of life being played in an excel window. The background of the window is black. Small patterns of living cells are lit up in white. There are 84 iterations visible in a 12 by 7 grid.
The first image shows iterations of an initial condition called “r-pentomino”. In the seventh row of frames a glider forms and flies away.
The second image shows an oscillating configuration with period 15 called pentadecathlon.
I tried to input a configuration called die hard that lasts an optimum 130 stages. But I misplaced one of the seven cells. The third and fourth images show the 128 stages my input survived before going extinct. The bottom half of the second image is empty. /.End ID]
read about r-pentomino et al on wikipedia
28 notes · View notes
gil-notskajla · 19 days ago
Text
Tumblr media
Had some spare half-drained white paint and a piece of cardboard to which im emotionally attached so i've painted one of my fav sillies from Conway's Game of Life - Hammerhead spaceship discovered by Hartmut Holzwart.
Each grid cell is painted alternately vertically and horizontally to make grid more pronounced.
Tumblr media
And the creature itself
Tumblr media
I know its supposed to be a shark but it looks like a butterfly to me <3
11 notes · View notes
tickfleato · 1 year ago
Text
Tumblr media Tumblr media Tumblr media
back at it again with the turing patterns
92 notes · View notes
entropy-game-dev · 2 years ago
Text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
Phylogenesia Automatorum is out!! A roguelite / incremental / life simulation hybrid
Download it here!
Over the past couple of weeks I've been working on my entry for the New Years Incremental Game Jam 2024, and I finally submitted it late last night.
It's a silly little game where you tend to your garden of digital plants, hoping to generate enough Life and Death points when they spawn/die respectively, in order to buy more plants, mutate their characteristics, and expand the field in which they live.
Mutations and field properties will directly (and indirectly) change the plants' behavior on both a local and global level, with some very interesting and unexpected results. Numbers going up isn't always better either too, as, if you upgrade their stats too much, you might make a superplant that chokes the life out of the rest of your simulation and other plants!!
(Oh, and my friend did the music for this game, and it's awesome - each plant as their own instrument/track and they layer on top of each other as you buy more!)
It's a roguelite in the sense that each run you will be choosing between random upgrades, plants, and field tiles with various effects between simulation runs in order to try and maximize your point gains and stay ahead of the reset cost. It's not totally balanced (as it was whipped up in 2 weeks), but with a bit of knowledge and juuuust a hint of luck, you can make almost any run pop off! The goal is to buy all 10 plants and have them all produce points within a single run (representing a diverse garden or something, rather than a monocrop).
As I mentioned previously, it's based heavily on Conway's Game of Life, as I am a huge sucker for incrementals with hypnotizing visuals that change and evolve as you interact with the various systems at play. I took this idea, added a bunch of plants that are variations on the standard ruleset, and went from there.
You might also notice that I used some assets from Stellar Terminus, namely, the 3 sound effects, fonts, color palette, and, retro computer theming. I swear I can do other styles, just, er, not in 2 weeks when I already had quite an ambitious idea!
Over the coming days I'll post some more about the development of it, how I implemented certain systems, and a post mortem. You can probably imagine how datastructures-heavy this game was. In the end I had 1 object that ran the entire simulation, 1 that displayed the breakdown of how each plant was doing, and like 20+ objects for UI...
For now though? I'd love for you to try it out, play a few runs, and hear your thoughts on it!!
85 notes · View notes
piratesexmachine420 · 8 months ago
Note
what's the ruleset on your PFP?
My xmas avatar? Rule 30! It's not programmatically generated, just thrown together in GIMP.
Tumblr media
(My normal avatar is basically rule 60, but black/0 value cells that have never been white/1 are colored red. It's implemented by this bit of rust code:)
Tumblr media Tumblr media
(The tuple destructuring made more sense at an earlier stage of tinkering.)
14 notes · View notes
daily-public-domain · 3 months ago
Text
Day 390: Three different kinds of patterns
Tumblr media
link
–This image is part of the public domain, meaning you can do anything you want with it! (you could even sell it as a shirt, poster or whatever, no need to credit it!)–
8 notes · View notes
humanbydefinition · 11 months ago
Text
~ cellular asciimata world map gen 🌎🌍🌏
been experimenting more with cellular automata and randomly encountered this happy accident that reminded me of random world map generation. 🗺️ at the end of the video, the cellular automaton reaches a stable state that looks like some landscape. 🏞️
> canvas size: 450x800 pixel > grid dimensions: 56x100 cells > font: C64 > font size: 8 > charset: ▔▎▗▂▖▝▘▍▃▚▞▋▅▊▛▆▜▙▟▇ > color palette: commodore64
22 notes · View notes
amarantine-amirite · 3 months ago
Text
Tumblr media
Macrophage
4 notes · View notes
s31415 · 3 months ago
Text
youtube
Cellular Worlds
Generative animation on custom LED panel, 2024.
A related app is available on the Play Store.
2 notes · View notes
vedalkensamurai · 2 months ago
Text
Tumblr media
Four breeds of knights with a more cardinal orientation.
Here are the rules for when two knights meet:
An older knight will always defeat a younger knight
A knight defeats another knight the same age whose hue is less than a half turn counterclockwise from its own.
Two knights that are the same age and the same hue, or the same age and complementary hues, will both defeat each other.
22 notes · View notes
violetfractal · 1 month ago
Text
Tumblr media
“Apophis” C2=2^MOD(LOG(B1+C1+D1,2),$A$1) various initial conditions
the following images all come from the same formula:
Tumblr media
the value of A1 is indicated in the ALT text
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
July 12th, 2023 12:15am
9 notes · View notes
krippe90 · 1 year ago
Text
You guys wanna see some real cool computer sciencey shit?
...
Well I'm gonna show you either way I just like to give you the illusion of choice:
Infinitely zoomable Game of Life Simulation that also simulates itself. Details: https://blog.oimo.io/2023/04/10/life-universe-en/
11 notes · View notes
nikjag · 2 years ago
Text
spiking neural networks
writing up some code in rust and python to replicate basic eeg activity using spiking neural networks
Tumblr media
it uses a lattice of leaky integrate and fire models to act as biological neurons
unlike a classical neural network, this system has a sense of time
on the right you can see the voltage of the membrane potential of each neuron change over time
on the left you can see the concentration of signaling neurotransmitters in each neuronal synapse that contribute to how the membrane potential changes over time
extremely basic modeling but it looks neat
(neuronal calcuations done in rust, visualization in python and matplotlib)
30 notes · View notes
entropy-game-dev · 2 years ago
Text
Tumblr media
Phylogenesia Automatorum now has a web version!!!
Just a short post to let everyone know that you can now play Phylogenesia Automatorum in your browser. For those understandably not wanting to download unknown exes, now's your chance!
This was hellish to debug due to inconsistencies in how Gamemaker does exes vs javascript, but I got there in the end, with a lot of help from Lucinius. Sadly, the performance of the game is never going to be good as the downloadable version but it's very much playable regardless. Oh and also, there's no music on the web version because Gamemaker doesn't support audio sync groups in the html export, which is the engine that was allowing me to fade in/out the tracks related to each plant as you unlocked them.
And if you have an itch.io account, I would very much appreciate if you rated the game on the jam submission page! I assume my game has the second lowest number of ratings because it previously was downloadable only? And I've probably missed the boat by submitting a web version 1 week into the 2 week voting period, but the main thing is that I know I can make web games now! Yippee!
25 notes · View notes
piratesexmachine420 · 3 months ago
Text
Tumblr media Tumblr media Tumblr media
'sperimentin
11 notes · View notes