Skip to main content

2D and 3D computational geometry library which scales from prototyping to production

Project description

polliwog

version python versions license coverage build docs build code style

2D and 3D computational geometry library which scales from prototyping to production.

Includes vectorized geometric operations, transforms, and primitives like planes, polygonal chains, and axis-aligned bounding boxes. Implemented in pure Python/NumPy. Lightweight and fast.

The goals of this project are:

  • Keep dependencies light and deployment flexible.
  • Keep the library working in current versions of Python and other tools.
  • Respond to community contributoions.
  • Eventually provide a complete set of functionality for this problem domain.

Features

Geometric operations, transforms, and primitives, in 2D and 3D.

The most commonly used of these are directly imported into polliwog.

polliwog.transform includes code for 3D transforms.

Other modules:

Installation

pip install polliwog

Usage

import numpy as np
from polliwog import Polyline

# ...

Contribute

Pull requests welcome!

Support

If you are having issues, please let us know.

Acknowledgements

This collection was developed at Body Labs and includes a combination of code developed at Body Labs, from legacy code and significant new portions by Eric Rachlin, Alex Weiss, and Paul Melnikow. It was extracted from the Body Labs codebase and open-sourced by Alex Weiss into a library called blmath, which was subsequently forked by Paul Melnikow. This library and the 3D geometry and linear-algebra toolbelt vg were later extracted.

License

The project is licensed under the two-clause BSD license.

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

polliwog-1.0.0b9.tar.gz (35.3 kB view details)

Uploaded Source

Built Distribution

polliwog-1.0.0b9-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file polliwog-1.0.0b9.tar.gz.

File metadata

  • Download URL: polliwog-1.0.0b9.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.5

File hashes

Hashes for polliwog-1.0.0b9.tar.gz
Algorithm Hash digest
SHA256 3fa8f31fc548037fb796b54e71d7ee95deb99f590856cb04b989b3a19366915a
MD5 5debfc19c81dcb2dc7d1f4e7e2d78fde
BLAKE2b-256 47260ae1713cfe7b6b98ed660a9e9e2df36976744e999a6805e77d8a0b878e2d

See more details on using hashes here.

File details

Details for the file polliwog-1.0.0b9-py3-none-any.whl.

File metadata

  • Download URL: polliwog-1.0.0b9-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.5

File hashes

Hashes for polliwog-1.0.0b9-py3-none-any.whl
Algorithm Hash digest
SHA256 f8971ad85b6fa4d187d8c9c48e73ef1459fde3935582855b6e47f571feed5d4a
MD5 5a9c173ea913425af7aab9c92ee4e202
BLAKE2b-256 dd79ec61deccaf6c2cc03f304035440100acb93d84a7e634d268f0830fbd6d25

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