Skip to content

AndrewBohler/boids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

boids

boid simulation using python and pygame

requires numpy and pygame

If you have Anaconda installed you can run by doing the following:

conda create -n boids python=3.8 numpy
conda activate boids
pip install pygame
git clone https://github.com/AndrewBohler/boids
cd boids
python boids.py

pygame is not hosted on Anaconda so you have to install it with pip


If you are on Mac I suggest using pyenv with pyenv-virtualenv

git clone https://github.com/AndrewBohler/boids
cd boids
pyenv install 3.8.12
pyenv virtualenv 3.8.12 andrewbohler-boids
pyenv activate
pip install -r requirements.txt
python boids.py

If you are using zsh and have the hook for pyenv enabled then the .python-version file should tell pyenv to use the right python version and environment automatically when you cd into the boids folder

About

boid simulation using python and pygame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages