Ecosim has prettier graphics and seems more high level and concerned with ecology, while nanopond is more about just open ended program evolution (including the rise of self-replicators ex nihilo... it starts by just generating totally random programs).
Nice, this is so cool! I had a few line-type creatures wriggling around at first and then a huge population explosion occurred and a swarm started filling the screen.
This seems very cool. I would recommend including an animated gif or link to a YouTube video showing the results of the simulation under a variety of settings/parameters. Also, this would probably get a lot more traction if it used web technologies WASM and webgl. Would be cool to combine this with an evolutionary algorithm similar to the Scriptbots project by Karpathy.
Very cool! However, I don't see why this has to be so specific for Linux from when by judging from the libraries used it can be also compiled for MingW, macOS, Free/Open/NetBSD, QNX and even surprising Haiku.
Very cool. I have dreamed of building something similar. I would be interested in these modifications:
1. Change living/non-living distinction of food to two different dimensions, shared by living and non living food alike:
* Composition - arbitrary bits to match against a consuming organism's diet
* Defense - arbitrary bits to match against consuming organism's capabilities, might be a function of energy level for living food
2. Organisms leave behind waste as part of eating and/or moving. Waste left behind is food for other organisms
This might allow for the rise of symbiosis and multicellular organisms
Anyone interested on this might also be interested in an mobile app called "Cell Lab: Evolution Sandbox" [1], which does a good take on a cell simulation "game".
It looks pretty interesting but unfortunately I'm unable to run the demo, getting a crash in glDrawElements which is sort of outside of my scope to address. As a side note the debug symbols flag doesn't get passed to individual C files so the binary ends up without debugging symbols (as a workaround I moved the -g3 flag to CC variable instead).
Interesting. What distribution are you using? On Debian it has been working fine, however on macOS I also encounter the glDrawElements issue. Still working on that.
If you're at all concerned with keeping it reasonably easy to find, you may want to know that the name Ecosim is in use by software for simulation modeling of trophic energy flows in ecosystems.
https://github.com/adamierymenko/nanopond
Ecosim has prettier graphics and seems more high level and concerned with ecology, while nanopond is more about just open ended program evolution (including the rise of self-replicators ex nihilo... it starts by just generating totally random programs).
But a very interesting project nevertheless.
gcc -c main.c gcc -g3 logger.o quadtree.o graphics.o utils.o agents.o input.o main.o -o ecosim -lGL -lm -lglfw -lGLEW $ ./ecosim Segmentation fault (core dumped)
1. Change living/non-living distinction of food to two different dimensions, shared by living and non living food alike: * Composition - arbitrary bits to match against a consuming organism's diet * Defense - arbitrary bits to match against consuming organism's capabilities, might be a function of energy level for living food
2. Organisms leave behind waste as part of eating and/or moving. Waste left behind is food for other organisms
This might allow for the rise of symbiosis and multicellular organisms
[1] https://www.cell-lab.net/
If you're at all concerned with keeping it reasonably easy to find, you may want to know that the name Ecosim is in use by software for simulation modeling of trophic energy flows in ecosystems.
https://en.m.wikipedia.org/wiki/EcoSim