#nannou #boids #flocking #rayon #parallelism

app boids-rs

A simulation of boids, written with nannou and using rayon for parallelism

2 releases (1 stable)

1.0.0 May 16, 2022
0.1.0 May 16, 2022

#163 in Simulation

25 downloads per month

MIT license

29KB
627 lines

boids-rs

A simple flocking simulation written in rust, using nannou, a creative-coding framework.

The three basic rules for flocking come from here.

Features

  • Keyboard controls
  • Dynamically changing behavior
  • Cross platform

Version

This is version 1.0.0.

Version 2.0.0 will add quadtree subdivision.

No more major versions are planned beyond these two.

Contributing

If you see possiblities for bugfixes, optimizations, new features or any other ways to improve, please do!

Usage

Run boids-rs

Installation

Run cargo install boids-rs

License

This code is under the MIT License

Dependencies

~35MB
~530K SLoC