Skip to main content

Frisbee simulation.

Project description

TRAVIS COVERALLS LICENSE

FrisPy

Documentation for FrisPy package can be found here on RTD.

This repository contains a physical model for a flying disc. Using this code, one can simulate trajectories of discs with varying initial conditions, while also changing the underlying physical model. This is useful for analyzing the mechanics of a disc in terms of its design, as well as creating simulated throws for things like disc launchers or other helpful tools.

This is a pure Python rebuild of the old FrisPy code, which included a version of the integrator written in C for speed. Find the fast C simulation in the Frisbee_Simulator repository.

The earliest implementation of this model that I could find was by Sara Ann Hummel for their 2003 Masters thesis for UC Davis. You can find the document in full on this page.

Installation

The easiest way to install this package is with pip. The PyPI package can be viewed here.

pip install frispy

For developers

Development should be performed using poetry to handle the development environment. Once poetry is installed, you can install the environment, which will include frispy:

poetry install

All proceeding instructions assume you entered your virtual environment using poetry shell, otherwise prepend poetry run to all instructions.

If you intend to open a pull request, please make sure pre-commit is installed before committing to your branch:

pre-commit install

This will ensure that the code you submit is PEP8 compliant. Otherwise, CI checks will fail before merging can be completed.

Verify your installation by running:

pytest

Please report any problems you encounter on the issues page. Thank you!

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

frispy-2.0.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

frispy-2.0.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file frispy-2.0.2.tar.gz.

File metadata

  • Download URL: frispy-2.0.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.0 Linux/5.15.0-1039-azure

File hashes

Hashes for frispy-2.0.2.tar.gz
Algorithm Hash digest
SHA256 2453a449af07fb20ca36eda847f61bff6324bbf5ad4ecc279fb3da16686bd03f
MD5 a3694ea63ff55b482f8b7959efc0d309
BLAKE2b-256 2d1f4388d75fa3e39199b10041e722fb75d635da2142aafc741626b08c6ce347

See more details on using hashes here.

File details

Details for the file frispy-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: frispy-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.0 Linux/5.15.0-1039-azure

File hashes

Hashes for frispy-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c21b5e288ec795c370660ab4f9b7b36fff6fffc7c4e09fc8b03107b34b35c4aa
MD5 13cc694db440fe9a8d74e6db26adee40
BLAKE2b-256 676c968c6a7db92294c4c06dd6049c7c5fe775ad00ff03881b6b62a89bb9c055

See more details on using hashes here.

Supported by

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