Genetic algorithm simulation in rust using nannou
Last updated Apr 10, 2026
67
Stars
3
Forks
0
Issues
0
Stars/day
Attention Score
8
Language breakdown
Rust 100.0%
โธ Files
click to expand
README
Genetic Rockets Simulation
A genetic algorithm simulation of rockets trying to reach the target written in rust using nannou.Video demo
https://user-images.githubusercontent.com/43251130/215404632-01769862-1162-4b1a-a0e9-8f03cf1fe557.mp4Usage
- Clone the repo
git clone git@github.com:sujay-ee/rust-genetic-rockets.git
cd rust-genetic-rockets
- Run the simulation
cargo run --release
- To update the simulation configurations use the configs file located at
src/configs.rs - To update the map layout edit the file at
assets/map.txt.0indicates a wall,1indicates a no-wall block
Experimental branches
- Flood fill for rocket fitness (flood-fill-fitness).
References
- Python implementation of the same
- Vectors
- Autonomous Agents (Controlling rockets on the screen) -
- Genetic Algorithm
๐ More in this category