This is an implementation of a (modified) Vicsek model for flocking behavior.
It is implemented in Rust and will show an OpenGL animation. Via command line
argument one can create a .mp4 using gnuplot
and ffmpeg
.
Just start it with cargo
, (you can get it at, eg., rustup.rs):
cargo run --release
If you are running Linux and have an X server installed (if you do not know what this means, it is probably true; XWayland does also work), you can also use the provided docker container:
docker-compose build
# this is needed to allow access to your X-server from within the Docker container
xhost +local:
docker-compose up