boids icon indicating copy to clipboard operation
boids copied to clipboard

More or less an implementation of Boids flocking algorithm.

Boids

ani ani

More or less an implementation of Boids flocking algorithm.

Note that this implementation stores a velocity vector. Some of the other implementations I have seen do not do this

Running it

The easiest is to run:

python3 main.py

The other main file is experimental and relies on https://github.com/inconvergent/fast-sand-paint

Requires

  • cairo or cairocffi
  • gi
  • numpy
  • scipy