Entropy Playground (a simulation of evolution) banner

Entropy Playground (a simulation of evolution)

6 devlogs
9h 12m 39s

A simulation of evolution using dots.

Demo Repository

Loading README...

koshivf

Shipped this project!

Hours: 9.21
Cookies: 🍪 144
Multiplier: 15.59 cookies/hr

I made a simulation of evolution where species are white dots (cuz I can’t draw lol).
The basic system is that each specimen has an energy level they need to reach to reproduce, and that level depends on their size. So to get energy they have to become predators who eat smaller ones and then reproduce to continue their lineage, including a certain amount of mutation to their children to allow for actual “Evolution”. But they all lose a certain amount of energy continuously just by living, also depending on their size and speed.
So speed, size, activity (predator % ig ?), metabolism, decay, energy gain, and mutation are all the variables taken into account for the evolution process of the species.
You also have a UI with a maximum amount of information to better visualize the effects of the sliders you can move.

koshivf

I cleaned things up and solved some logical and mechanic issues, didn’t change much but should be better so now I think I can finally ship.

Attachment
0
koshivf

I added a lot more information and a deaths graph in addition to the population one.
Also got a decay parameter now, though I advise you to be slow when moving it (especially up) or your population will explode and do x10 in a few seconds before going extinct theoretically.
Oh and I almost forgot the time scale buttons as x1 can be quite slow, but be aware that it doesn’t actually just make things happen faster but just with more amplification, so I advise you to only use it on short interval before coming back to x1.

Attachment
0
koshivf

I added sliders to manually change the parameters of mutation, metabolism, energy gain and decay so that the user can try for himself and experiment in order to reach equilibrium (or extinction) instead of just being a spectator or the evolution based on my presets.
I also added backgrounds for the different element of the UI so that you can still see them when your screen is drowned in white dots.

Attachment
0
koshivf

I added a graph showing the evolution of the population in real time though I don’t think I’ll be able to add numbers/markers for scale.

Attachment
0
koshivf

balanced the simulation better by adding decay of the specimens over time as well as division in between 1 and 3 smaller specimens to serve a “food” for the others, avoiding the previous stagnating issue where the specimens would grow to the same size and become unable to eat each other, driving to the extinction of the entire species.
I also made a few tweaks and performance improvements as the browser tab starts to lag once your reach the thousands.

0
koshivf

The specimens are those white dots. they each have a starting amount of energy and a certain level of energy to reach in order to reproduce which depends on their size. But they lose energy continuously, especially if they’re big and/or fast. To gain energy and survive/reproduce, they need to eat dots that are smaller than them. Now for now this works but it always stagnate at a point where each dot is pretty much the same size so they can’t eat and you therefore lose the entire population in a matter of seconds. Quite hard to configure I have to say.

Attachment
0