pybirdsreynolds
This project is an interactive simulation of the Reynolds Boids model, implemented in Python with Tkinter. It allows you to visualize and experiment with the collective behavior of a flock of virtual birds by adjusting parameters such as cohesion, alignment, separation, speed, and neighborhood radius in real time. The interface also provides several controls (pause, reset, new generation, FPS display, etc.) to easily explore the dynamics of the system.
Installation/Upgrade/Use
Prerequisites
- Install Python 3 on your system
- Install pipx on your system
- Install git on your system
Why use pipx?
pipx installs Python applications in isolated environments, which prevents dependency conflicts with your system or other projects.
It also allows you to run CLI tools globally without polluting your Python installation.
This makes it safer and cleaner than using pip or pip3 for installing standalone tools.
Clean old versions
If you have installed an old version with pip or pip3 (depending on your system), use one of the following commands:
pip3 uninstall pybirdsreynolds
pip uninstall pybirdsreynolds
pip3 uninstall pybirdsreynolds --break-system-packages
pip uninstall pybirdsreynolds --break-system-packages
Installation
pipx install pybirdsreynolds
Upgrade
pipx upgrade pybirdsreynolds
pipx reinstall pybirdsreynolds #to force update dependencies
This command upgrades the application to the latest version and also updates all its dependencies.
Uninstall
pipx uninstall pybirdsreynolds
Use
pybirdsreynolds
- If you obtain error about tk, install python3-tk
sudo apt install python3-tk #for ubuntu
sudo pacman -S tk #for arch
brew install python-tk #for mac
Documentation and options
pybirdsreynolds --help
Metadata
Release files for pybirdsreynolds 3.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pybirdsreynolds-3.0.7.tar.gz | 19.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pybirdsreynolds-3.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.8 kB
Release files / pybirdsreynolds-3.0.7.tar.gz
| Download URL | pybirdsreynolds-3.0.7.tar.gz |
|---|---|
| Size | 19.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9e812e7e43aadbd7cc1d56c68941ae9d2dd77c9aa6525b3dd3d75c44c74da9b
|
|
BLAKE2b-256 checksum How to use checksums |
151cb0de5936d1c8fd6ae1f176ac94d94b3f4235a6bacd9b92ac1dc450d35de3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / pybirdsreynolds-3.0.7-py3-none-any.whl
| Download URL | pybirdsreynolds-3.0.7-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
740430c1629212b0e7369189871eae77ff28471b06f554ab50b7f48ee4c563b8
|
|
BLAKE2b-256 checksum How to use checksums |
c9f60b5f1b6af0057f80b6dbfed442d4be21647c3d7b519a0a58e453012c2f39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|