Skip to main content

Image of app

Welcome to the Evolution Simulator!

This tool allows you to simulate the natural process of evolution in a simplified, artificial environment. Essentially, the tool simulates an environment filled with mice and owls. The mice strive to survive by eating grass, while the owls prey on the mice. Both animals are capable of propagating and pass down their genes to the offspring. Let evolution do its work, and see the marvelous effects of natural selection!

Every simulation is based on a number of settings that you will specify before beforehand - or you can choose a pre-determined configuration if you like!

The tool has two different modes:

  1. Interactive mode, where you can see evolution working in real-time.
  2. Simulation mode, where you can test a range of different custom configurations, figuring out which variables are important for stimulating evolution.

In the environment, male and female mice are coloured dark and light blue respectively, while male and female owls are colored red and orange respectively. Each animal is given a number, indicating its level of speed. If the number is underlined, it means the animal is currently pregant, and will soon produce offspring.

How to run:

  1. Install the necessary packages listed in requirements.txt via PIP
  2. Navigate to root folder and run "pythonw app.py" for smoothest experience
  3. Follow instructions and enjoy!

Variables:

Environment

  • dimensions - number of vertical and horizontal tiles in the environment
  • rock_chance - the probability in percent that a tile is an obstructive rock instead of grass
  • grass_grow_back - number of ticks before grass grows back after being eaten

Simulation mechanics

  • rand_catch - determines if catching is probability based or deterministic
  • in_medias_res - determines if simulation is started cold or warm
  • rand_variance_trait - the amount in percentage that offspring can vary in the speed trait from the average of its parents
  • speed - determines whether or not the speed trait is inherited

Mice

  • m_number - number of mice upon start of simulation
  • m_die_of_hunger - number of ticks before a given mouse dies of hunger
  • m_preg_time - number of ticks that a female mouse is pregnant
  • m_max_age - number of ticks before a mouse dies of old age

Owls

  • o_number
  • o_die_of_hunger
  • o_preg_time
  • o_max_age

Tick_time (only for interactive mode)

  • slow_mode_sleep_time - time between each tick when slow-mode is enabled

Auto_testing (only for simulation mode)

  • ticks - number of ticks desired to be run for the simulation
  • repetitions - number of repetitions to be run for each given configuration

Release files for evolution-simulator 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evolution-simulator 0.1.6
File Size Uploaded
evolution-simulator-0.1.6.tar.gz 32.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for evolution-simulator 0.1.6
File Interpreter ABI Platform
evolution_simulator-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 80.4 kB

Release files / evolution-simulator-0.1.6.tar.gz

Download URL evolution-simulator-0.1.6.tar.gz
Size 32.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c69211858c64708928dc50c15fd94fbe6ba8e0bd1590863e41d04406d124950b
BLAKE2b-256 checksum
How to use checksums
a3c7a981a0927628a6228345a5be0bb7ad782953eb16f8deba5dab3c6aa4f4c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / evolution_simulator-0.1.6-py3-none-any.whl

Download URL evolution_simulator-0.1.6-py3-none-any.whl
Size 48.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e66da9962bbe3b941a91b768974cf223593c8feb2b1f2400faabfb579ea119b
BLAKE2b-256 checksum
How to use checksums
94bacb0da97c96a2a770c0e6e0bc59453f5be349a642d4dd339c93631f2da0a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page