Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kklimas/evolution-simulator
Desktop application that simulates evolution process.
https://github.com/kklimas/evolution-simulator
java javafx javafx-desktop-apps javafx-gui
Last synced: about 1 month ago
JSON representation
Desktop application that simulates evolution process.
- Host: GitHub
- URL: https://github.com/kklimas/evolution-simulator
- Owner: kklimas
- License: mit
- Created: 2022-12-13T16:14:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-26T12:48:31.000Z (12 months ago)
- Last Synced: 2024-09-30T03:40:24.178Z (about 2 months ago)
- Topics: java, javafx, javafx-desktop-apps, javafx-gui
- Language: Java
- Homepage:
- Size: 281 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Evolution simulator
## About
Evolution simulator is an application that was made as a project for second's year subject: Objective Programming.
All the requirements for this app are placed in another
[GitHub](https://github.com/apohllo/obiektowe-lab/tree/master/proj1) repository (PL).## Main concept
The general feature of the application is the thing that the user can simulate the process of evolution. Only
thing you have to do before is selecting configuration file with which app will start.Application allows to run in the same time few simulations in different windows.
## Configuration
User has possibility to select either one of three previously created config files:
- huge world - big starvation and amount of new && dead animals
- medium world - a lot of plants, medium world
- small world - small map with few animalsor to prepare and load own configuration file. File should look like this below
```text
mapWidth=50
mapHeight=50
startPlantsNumber=100
plantEnergy=5
newPlantsEveryDay=20
animalsStartNumber=25
startEnergy=50
energyNeedToReproduce=50
energyWastedDuringReproduction=40
minimalMutationNumber=0
maximalMutationNumber=4
genomeLength=8
mapVariant=1
plantGrowVariant=1
mutationVariant=1
animalBehaveVariant=1
```
Each of parameter should be specified and what is more:- every parameter expect minimalMutationNumber and variants should be
greater than 0
- variants should have value 0 or 1
- energy needed to reproduction should be greater than energy wasted
during itThere is also possibility to change the speed of the simulation. Only thing you need to do is to increase or decrease
default `DELAY` parameter that is stored in `/configurations/DefaultConfiguration`## Map data
During simulation, it is shown a panel that presents current parameters of map (day, animals number,
plants number, etc.)There is also possibility to look at information about selected animal. To do so simply stop simulation
and select animal you want to observe.## CSV handling
Application let us storing simulation data in CSV files. However, before you will get your files,
you need to select this option in main menu (before starting).Files are stored in `/main/resources/csv` and are always deleted before application start.
## Sample views