This project is based on Learn To Fly a course to learn genetic algorithms and neural networks.
This is a simulation of a 2D world where birds can seek food. Each generation, the birds with the best genes are selected to reproduce and create the next generation. The final goal is to see how birds evolve by looking at their behavior and their stats.
You will need to have rust installed on your computer. You can install it by following the instructions on the official website.
Then, you can clone the repository and run the following command to start the simulation:
cargo install wasm-pack
cargo build
cd libs/simulation-wasm && wasm-pack build
cd ../../www && npm install && npm run start
If your version of Node is up to date (which is very probable), you will need to run this command instead :
npm run older