I recently watched the great video on biosim4 here and was fascinated by the evolution approach taken.
Ive always been interested in ALife type programs and have tinkered and made many myself. I thought it would be an interesting exercise to turn biosim4 into a little native extension. And with the help of the great drawpixels native extension from @AGulev it was in and working.
Heres the project - Im going to add imgui so you can modify and tune the simulation runs how you want.
And a little video showing a few generations run. Make sure you run as release - Debug is about 5-10x slower, although its just as pleasing
Thanks to David Miller for creating this great application and making an excellent video as well.
If you want to make your own biosim4.ini edit the one in the data folder (make a backup first) and you should see the changes. Mutli-threading is not supported properly yet (I couldnt get it stable enough) but everything else seems to work ok.