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.
Project description
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 --include-deps
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pybirdsreynolds-3.0.6.tar.gz.
File metadata
- Download URL: pybirdsreynolds-3.0.6.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acbad7d3c4cec436328be30b0157667124b0c4fd0bfa0716cbc78d1c5ed2206b
|
|
| MD5 |
6cc2a40d633fe80f678c6d51380bcd48
|
|
| BLAKE2b-256 |
5a319d355b9696072bd04412c7c914c149da564d712b3e222a57cc1eaa40d7b3
|
File details
Details for the file pybirdsreynolds-3.0.6-py3-none-any.whl.
File metadata
- Download URL: pybirdsreynolds-3.0.6-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
585fc4bc5d663f833c769ec3f332ee2bf90e3a469cc72bba54df721fcc1b43c9
|
|
| MD5 |
cdcdefbc1f41e923c03a7d4dfc242797
|
|
| BLAKE2b-256 |
eba4c1c3762ac51e168a168bcd1ec369db08b28541d6df63a6f0a8ce272cdcda
|