zeddo123 / darwin-simulation

darwin natural selection simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simulating Darwinian Natural Selection

How to run a simulation

usage: run_simulation.py [-h] [-g N] [--plot {speed,size,sense} [{speed,size,sense,population} ...]]

Simulate natural selection.

optional arguments:

-h, --help            
                     Show this help message and exit

-g N, --generations N

                     The number of generations that will be simulated

--plot {speed,size,sense} [{speed,size,sense,population} ...]

                     Makes a plot of a specific trait

Requirements

This script is written is python3.7.

all the modules required:

cycler 0.10.
kiwisolver 1.1.0.
matploitlib 3.1.
numpy 1.16.
pyparsing 2.4.
python-dateutil 2.8. 
six 1.12.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Infos

i got this idea from : youtube video Simulating Natural Selection-Primer

Licence

WTFPL

About

darwin natural selection simulator

License:Do What The F*ck You Want To Public License


Languages

Language:Python 100.0%