Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 573 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 573 Bytes

boid-model-visualization-matplotlib

demo

A boid model is visualized by using matplotlib as shown above.

boid.py and part of model.py are from here.

Requirement

  • matplotlib
  • mesa
  • numpy
  • toml
  • tqdm
  • ffmpeg (when generating movie)

How to use

python src/run.py

If you want to create a movie file, execute python src/generate_movie. Note that ffmpeg is required.