Robert Garrett 82dabcfabe Fix: Cohesion function was accepting bad input
The cohesion function would accept inputs over the range (-1, 1) when it
has been designed to work over (0, 1). This changes the math to
calculate the magnitude separately and re-apply it to the pointing
vector.
2024-07-15 13:48:13 -05:00
2024-07-05 08:45:34 -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%