Discord
@hash/reproducing-agents
Simulation
2
0
Public

Reproducing Agents

This simulation demonstrates how to cause agents to reproduce in the HASH engine.

This simulation demonstrates how to cause agents to reproduce in the HASH engine.

Here, we have a population of agents with random colors, moving randomly. As they interact with neighboring agents, they spawn non-reproducing child agents whose colors are the average of the colors of their parents.