ecosystem-p5 icon indicating copy to clipboard operation
ecosystem-p5 copied to clipboard

An ecosystem and evolution simulation in HTML5 and JS.

ecosystem

An ecosystem and evolution simulation in HTML5 and JS. You can run it here.

Controls

  • Mouse to spawn a creature.
  • 1-9 to select a preset.
  • E to cycle eating mode.
  • G to toggle population graph.
  • R to reset the simulation.

Creature types:

Press one of the below keys in order to select a type of creature, and then spawn by clicking with the mouse.

  • F: food
  • B: prey
  • P: predator