Skip to content

bones-ai/rust-ecosystem-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]: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