Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
/ ecosystem-p5 Public archive

An ecosystem and evolution simulation in HTML5 and JS.

License

Notifications You must be signed in to change notification settings

selenebun/ecosystem-p5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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