bones-ai
rust-ecosystem-simulation
Rust

A simple ecosystem simulation written in Rust and Bevy

Last updated Jun 12, 2026
51
Stars
6
Forks
0
Issues
0
Stars/day
Attention Score
7
Language breakdown
No language data available.
โ–ธ Files click to expand
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 using the Bevy game engine.

screenshot

Timelapse video

Part 1

youtube

Part 2 with predators

youtube

Usage

  • Clone the repo
git clone git@github.com:bones-ai/rust-ecosystem-simulation.git
cd rust-ecosystem-simulation
  • Run the simulation
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
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท bones-ai/rust-ecosystem-simulation ยท Updated daily from GitHub