Skip to main content

2D vector, line and polygon classes, and a spatial hash implementation

Project description

wasabigeom - fast geometry types for Python games

Build Wheels PyPI PyPI - Python Version PyPI - Wheel Documentation Status Discord

wasabigeom is a 2D geometry library intended for game development. It started life as a pure Python library but is now implemented in optimised Cython code.

Documentation

View on ReadTheDocs

Installation

To install, just run:

pip install wasabi-geom

What's new in 2.0.0

I took the existing wasabi.geom code and Cythonised it.

I've made some big, breaking changes to the interface; notably, I prefer radians thes days and eschew namespace packages. To install the old, pure-Python version, pin to wasabi-geom<2.

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

wasabi-geom-2.1.1.tar.gz (15.5 kB view hashes)

Uploaded source

Built Distributions

wasabi_geom-2.1.1-cp310-cp310-win_amd64.whl (187.0 kB view hashes)

Uploaded cp310

wasabi_geom-2.1.1-cp310-cp310-win32.whl (158.8 kB view hashes)

Uploaded cp310

wasabi_geom-2.1.1-cp39-cp39-win_amd64.whl (186.9 kB view hashes)

Uploaded cp39

wasabi_geom-2.1.1-cp39-cp39-win32.whl (158.5 kB view hashes)

Uploaded cp39

wasabi_geom-2.1.1-cp38-cp38-win_amd64.whl (188.2 kB view hashes)

Uploaded cp38

wasabi_geom-2.1.1-cp38-cp38-win32.whl (158.9 kB view hashes)

Uploaded cp38

wasabi_geom-2.1.1-cp37-cp37m-win_amd64.whl (181.6 kB view hashes)

Uploaded cp37

wasabi_geom-2.1.1-cp37-cp37m-win32.whl (153.7 kB view hashes)

Uploaded cp37

wasabi_geom-2.1.1-cp36-cp36m-win_amd64.whl (196.7 kB view hashes)

Uploaded cp36

wasabi_geom-2.1.1-cp36-cp36m-win32.whl (164.1 kB view hashes)

Uploaded cp36

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