Robert Garrett dca8bcdaa7 Add speed_controller to maintain system energy
The starting velocities going outwards in a circle means that the sum of
energy in the system is 0. As the boids come back together, they will
slow down to fall into a lattice. This is interesting, but not the
flocking behavior Boids are supposed to have.

I've replaced the `space_brakes` function with this new speed controller
to keep boids moving between two speeds. Anything too slow will speed up
along it's current vector, and anything too fast will slow down.
2025-09-03 14:20:17 -05:00
2024-07-05 08:45:34 -05:00
2025-08-30 15:45:20 -05:00
Description
A Boids implementation in Rust and Bevy, with a WASM build.
AGPL-3.0 84 MiB
Languages
Rust 76.5%
HTML 12.4%
Makefile 9.7%
Dockerfile 1.4%