Skip to content

Toy that simulates reproduction and natural selection of artificial trees in a two-dimensional environment

License

Notifications You must be signed in to change notification settings

SimNine/GeneTrees-v2

Repository files navigation

GeneTrees-v2

GeneTrees-v2 is a toy that simulates artificial tree-like organisms and mutates them based on fitness, simulating evolution.

Usage

Optional: configure parameters by editing treeConfig.yaml

Controls

Main window:

  • Click and drag - pan view
  • P - Pause simulation
  • D - Toggle debug features
  • Q - Stop visual rendering (but keep simulating)
  • M - Toggle multithreading
  • T - Execute a single tick; only works if simulation is not currently running

Click on a tree to track it. This displays additional information about it in the upper-left corner, and displays the tree seperately in the lower-right corner.

The graph windows cannot be reopened once closed. Graph window controls:

  • Click and drag - pan view
  • Scroll - scale vertical axis
  • CTRL+Scroll - scale horizontal axis

Examples

Running for 300 generations:

About

Toy that simulates reproduction and natural selection of artificial trees in a two-dimensional environment

Topics

Resources

License

Stars

Watchers

Forks

Languages