SourceAura / evo-sim

This evolution simulation involves a population of creatures represented by binary strings. The creatures evolve over generations through a process of genetic crossover and mutation. The simulation provides a visualization of the evolution process, showing the progression of generations and the changes in the population over time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evo-Sim

Evo-Sim is a simple particle life simulation with evolutionary algorithms implemented in Go using the Pixel game library.

Overview

Evo-Sim simulates the life of particles in a 2D environment. Each particle has its own set of properties such as position, velocity, radius, and genetic makeup. The simulation includes features like particle movement, pheromone trails, and evolutionary algorithms for trait selection.

Features

  • Particle life simulation
  • Random generation of particle properties
  • Particle movement with collision detection
  • Pheromone trails left by particles
  • Evolutionary algorithms for trait selection over time

Requirements

To run Evo-Sim, you need to have Go installed on your system. You can download and install Go from the official Go website.

Installation

Clone the Evo-Sim repository:

git clone https://github.com/sourceaura/evo-sim.git

evo-sim/
├── README.md
├── main.go
└── frontend/
    └── main.go

Navigate to the project directory:

cd evo-sim 

Run the simulation:

go run main.go

About

This evolution simulation involves a population of creatures represented by binary strings. The creatures evolve over generations through a process of genetic crossover and mutation. The simulation provides a visualization of the evolution process, showing the progression of generations and the changes in the population over time.

License:Creative Commons Zero v1.0 Universal


Languages

Language:Go 100.0%