360 points · by hyperific · 2y ago · 94 comments
It's very fun watching which "faction" might take over the board.
Demo: https://genetic-life.surge.sh/
Source (ported from the original C++ into Rust/WASM): https://github.com/franky47/genetic-life
It eventually settles down to one large and unstable blob and another stable. Neither move so that's it. But before that it did what I had expected to see with objects meeting and merging
This one is really fun for me. It has a lot of actions and good shapes.
What is fooling you is the motion. This is sustained because the system has no conservation principles built in. You can make A-B pairs where B is attracted to A, A is repelled by B, and off they go, zoom. Were the meta-rules devised such that conservation of energy or momentum and such were baked in to whatever system you devised, you would see less exciting structures which would more resemble a late-stage pentamino explosion in the Game of Life.
With a sufficiently large processor, I would like to see this in three dimensions and more options for force, such as dropping off as the inverse of r or r-cubed or even r * log(r), or some "repulsive at a distance, attractive at very close quarters" particles. I have a feeling that such a system would grind to a halt even with clever optimizations.
Oh, there's one of those too! I don't see ways to change the falloff though, just the magnitude...
https://hunar4321.github.io/particle-life/particle_life_3d.h...
That seems like a valid belief. Getting to a technological stage such that a species would be detectable over the vast distances of space could indeed be quite rare. You have to also consider the temporal aspect: intelligent, technologically advanced species may have evolved several times but gone extinct before we could notice them. Do other technically advanced species exist in the universe? Probably, but it could be that at any given time there might only be about 1 in any given galaxy and the distances between galaxies are great enough that we'd never likely be able to make contact. (and ~1 per galaxy would still mean that there would be a whole lot of intelligent species out there - it's just that it would be extremely difficult to make contact with any of them)
For example, with direct contact, we can estimate a probability of life along side how possible space travel is. Perhaps space travel isn't easy or fast at all and so there is plenty of life, but it is mostly stuck to its solar systems and maybe a few neighboring stars. Overall, given that we can send and receive signals much easier than we can send and receive space crafts, I think this isn't as useful a metric.
The better one is that we don't see signals from other life elsewhere, but this still has to be measured by how likely life elsewhere would be able to see our signals.
Lastly, there is the matter of what it means to be rare. Say only 2 or 3 planets in a given galaxy end up developing intelligent life, is that rare? Given the number of galaxies in the visible universe, that is hundreds of billions if not trillions of planets with intelligent life. Yet with only 2 or 3 in a galaxy, it would be easy for us to not see any signs because maybe we are the only ones in our galaxy or our galactic neighbors are on the other side of the milky way and we have no technology to communicate, nor will we for the near future. Hundreds of billions of intelligent species can be considered both rare and not rare given the sorts of scales we are talking about.
Also other edge cases, like maybe intelligent life is common enough but it tends to rarely progress past a certain point of development due to wiping itself out. Personally, every explanation I've heard or can think of has some sort of unpleasantness to it, much like the quote that says either we are alone or we aren't alone, and both ideas are scary in their own ways.
Maybe there are lots of earth-like planets with intelligent beings, but travel is impossible and communication is useless given the time delay.
Haven't we been? When I look all around, the whole place is simply crawling with self-replicating machines and some of them even got to a point of making first attempts to leave this planet to infect a new one.
I like to imagine there are countless planets with perfect ecosystems of living organisms where no single species dominates whole planet.
This version does everything in webgl shaders and keeps all state for the simulation in textures / uniforms. This allows it to simulate and draw more particles. Unfortunately it may not run on all devices because it uses some less supported webgl extensions.
Particle Life Emerges from Simplicity - https://news.ycombinator.com/item?id=34156592 - Dec 2022 (1 comment)
Particle Life Simulation - https://news.ycombinator.com/item?id=33680845 - Nov 2022 (1 comment)
Particle Life - https://news.ycombinator.com/item?id=21875720 - Dec 2019 (7 comments)
Also, it seems like in this system the speed of light is infinite, since every particle acts on every other particle each frame, regardless of distance. In CGoL there is a speed of light, since cells can only influence their immediate neighbors each frame.
I had a similar concept in mind when I started experimenting in 3D with what I now call "Altphy" (alternative physics), but I've not been able to really make it work as intended (really, is far from working). Also probably the logic and idea behind it too much for real time processing. I'm sharing it only because maybe pieces of that code (or the idea itself) can progress into something one day.
But the thing is it does not demonstrate that complexity can come from simplicity. To make a 'life' there are 8 parameters to be modified across a range and 'fine tuned' to get some tangible stable complex structure, all to be done by already conscious beings ( Users anyone? ). So much for simplicity
Found some info here, seems like these are open questions [1].
--
The particles form semi-stable rotating rings until they get too close to another ring. It's quite fascinating to watch. Messing with the viscosity changes the stability and radius of the rings
you can run it with: cargo run --release
No input yet, just randomly initialises params each run. But it runs with 4000 particles on my machine.
Rotting is caused by living organisms. Being eaten is caused by living organisms. Disease is caused by living organisms.
They could not die until death evolved. They could be physically destroyed but that’s not that likely.
In this demonstration, particles with certain rules can interact in such a way that self-organizing structures emerge.
Is there reproduction? Is there evolution? Is there death? It appears not. Those are essential to life.