tom00ti / boid-model-visualization-matplotlib

Visualization of a boid model by matplotlib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)
  • joblib

How to use

python run.py

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

About

Visualization of a boid model by matplotlib

License:Apache License 2.0


Languages

Language:Python 100.0%