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.

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


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.6.tar.gz (19.1 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.6-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

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

Hashes for pybirdsreynolds-3.0.6.tar.gz
Algorithm Hash digest
SHA256 acbad7d3c4cec436328be30b0157667124b0c4fd0bfa0716cbc78d1c5ed2206b
MD5 6cc2a40d633fe80f678c6d51380bcd48
BLAKE2b-256 5a319d355b9696072bd04412c7c914c149da564d712b3e222a57cc1eaa40d7b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pybirdsreynolds-3.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 585fc4bc5d663f833c769ec3f332ee2bf90e3a469cc72bba54df721fcc1b43c9
MD5 cdcdefbc1f41e923c03a7d4dfc242797
BLAKE2b-256 eba4c1c3762ac51e168a168bcd1ec369db08b28541d6df63a6f0a8ce272cdcda

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