Skip to main content

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.

image

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybirdsreynolds-3.0.5.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybirdsreynolds-3.0.5-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file pybirdsreynolds-3.0.5.tar.gz.

File metadata

  • Download URL: pybirdsreynolds-3.0.5.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pybirdsreynolds-3.0.5.tar.gz
Algorithm Hash digest
SHA256 3af0be4e58e06d14351de07585e61bbbd2de9bea9c9079114b114cd5c3a9476c
MD5 2043fdf40a5aa964f5f7548098109a33
BLAKE2b-256 1ac953355048ef1f579f487475b1e1f5cf444d790d44ba844eb23c2c4b69b7fa

See more details on using hashes here.

File details

Details for the file pybirdsreynolds-3.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for pybirdsreynolds-3.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d57a703a6940d975b826e3e0cb92e51fccc14b1bb5fdddf57abf06014639a6b3
MD5 a3eecb8c99ffd513d68b10178a317208
BLAKE2b-256 40006ac2075c628b686880d54c1cf739f8ba18a0f435271e2a4eeb911121df06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page