Creatures P5.js Version 3
Each cycle, a number of randomly selected creatures' fitness is analyzed. The updated creatures are modified in a clone of the current map which at the end of the cycle replaces the current map.
The Pool
Species Creatures
locA
locB
locC
locZ
Controls
Mutation Rate 1/
10 1000
Crossover Rate 1/
10 1000
Perception
1 4
Polarization
+ -
Perception
- Always
- 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.
Polarization
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.