Creatures P5.js Version 1
Each cycle, a large number of randomly selected creatures is processed one after the other. Offsprings will occupy an empty cell around the parent.
This version is too slow. It takes too long until allele frequecy are settled based on the selected perception model. For a faster variant check Version 2.
Bubble, World, Universe ... Whatever
Mutation Rate 1/
Crossover Rate 1/
- locA vs locA'
- locA vs locB'
- locA vs locC'
If a creature can see a neighbour, locC determines if it is an ally or a rival.
With a positive polarization, a creature gains energy by having allies around and loses energy by having rivals around. With a negative polarization, the effect is reverse.