Skip to content

roberte777/rust-autonomous-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Boid Simulation

This project aims to simulate a flocking mechanism in Rust. I used nannou for visual representation and vectors.

The three components that make up the flocking mechanism are:

  • alignment
  • cohesion
  • separation

In this project I also investigate some simpler mechanisms, such as fleeing, pursuing, and seeking.

Execution

To run the flocking simulation, run the following command:

cargo run --bin flock

All other experiments can be executed by replacing flock for the respective file name in the bin folder.

Example

Flocking in execution

Image example of flocing in execution

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages