An open API service indexing awesome lists of open source software.

https://github.com/bones-ai/rust-ecosystem-simulation

A simple ecosystem simulation written in Rust and Bevy
https://github.com/bones-ai/rust-ecosystem-simulation

bevy-engine ecosystem evolution natural-selection rust-lang

Last synced: about 2 months ago
JSON representation

A simple ecosystem simulation written in Rust and Bevy

Awesome Lists containing this project

README

        

# Procedural World Generation
This is a simple boid ecosystem simulation inspired by Daniel Shiffman's (TheCodingTrain) Ecosystem simulation - https://www.youtube.com/watch?v=flxOkx0yLrY

Built in [Rust](https://www.rust-lang.org/) using the [Bevy](https://bevyengine.org/) game engine.

![screenshot](/screenshot.png)

## Timelapse video

### Part 1
[![youtube](https://img.youtube.com/vi/lCUovKa68jQ/0.jpg)](https://youtu.be/lCUovKa68jQ)

### Part 2 with predators
[![youtube](https://img.youtube.com/vi/sKYUIlDdC18/0.jpg)](https://youtu.be/sKYUIlDdC18)

## Usage
- Clone the repo
```bash
git clone [email protected]:bones-ai/rust-ecosystem-simulation.git
cd rust-ecosystem-simulation
```
- Run the simulation
```bash
cargo run
```

## Controls
- `Backspace` - Show graphs
- `Tilde` - Show graph settings
- `Tab` - Show debug gizmos
- `1` - Camera follow boid
- `2` - Camera follow predator boid
- `3` - Camera snap to center

## Configurations
- The project config file is located at `src/configs.rs`