An evolution simulator
Project description
Darwinio
______ _______ _______ _________ _ _________ _______
( __ \ ( ___ )( ____ )|\ /|\__ __/( ( /|\__ __/( ___ )
| ( \ )| ( ) || ( )|| ) ( | ) ( | \ ( | ) ( | ( ) |
| | ) || (___) || (____)|| | _ | | | | | \ | | | | | | | |
| | | || ___ || __)| |( )| | | | | (\ \) | | | | | | |
| | ) || ( ) || (\ ( | || || | | | | | \ | | | | | | |
| (__/ )| ) ( || ) \ \__| () () |___) (___| ) \ |___) (___| (___) |
(______/ |/ \||/ \__/(_______)\_______/|/ )_)\_______/(_______)
This is a Python program that simulates the process of evolution, complete with organisms, genetic codes, and neural networks.
Features
- You get to randomly generate organisms, and see how they evolve.
- Change the conditions while the simulation is running.
- You can control - Food and Temperature
Screenshot
Setup
*Nix(Gnu-Linux, *BSD, MacOS)
- Make sure your python is up-to date
- Install pipx
For Debian and it's derivatives
apt install pipx
For ArchLinux and it's derivatives
pacman -S python-pipx
For Gentoo
sudo emerge --sync sudo emerge --ask --update --deep --newuse @world sudo emerge --ask dev-python/pip sudo pip install pipx
- Open your terminal, and install darwinio by running
pipx install darwinio
- To run the program,
pipx run darwinio
Microsoft Windows
-
Make sure you python is up-to date, if you don't have python installed install a recent version from python's official website..
Or, if you have
winget
available, you can use,winget install python
-
Open your terminal/Powershell, and install darwinio by running
py -m pip install darwinio
-
To run the program,
py -m darwinio
Building and testing
*Nix(Gnu-Linux, *BSD, MacOS)
- Clone the repository to your local machine using the following command in your terminal
git clone https://github.com/tusharhero/darwinio.git
- Create a virtual environment and source it
python -m venv .venv source ./.venv/bin/activate
- Get the requirements
pip install build
- Build and install it
python -m build pip install .
- Test it by running it.
python -m darwinio
License
This program is copyright © 2023 Tushar Maharana tusharhero@sdf.org, and Mihir Nallagonda adhikshithamihir@gmail.com.
This program is licensed under the terms of the GNU GENERAL PUBLIC LICENSE VERSION 3 which means this is Free Software.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for darwinio-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb55fffe7820c0d05179b883136f756f096549e54b5a35e2d7701633946193cf |
|
MD5 | 3abf167de94b3f61cec2611709f7c993 |
|
BLAKE2b-256 | b51b310952a98293b3820e7b0dfc3facd0f28c8b02ca7c6391814e1f0ad503a7 |