Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lordmauve/wasabi-geom
A 2D geometry library for Python, with ergonomic vector classes in optimised Cython code.
https://github.com/lordmauve/wasabi-geom
cython math maths python python-game-development vector
Last synced: about 2 months ago
JSON representation
A 2D geometry library for Python, with ergonomic vector classes in optimised Cython code.
- Host: GitHub
- URL: https://github.com/lordmauve/wasabi-geom
- Owner: lordmauve
- License: bsd-3-clause
- Created: 2019-09-10T11:41:55.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T11:07:14.000Z (9 months ago)
- Last Synced: 2024-10-08T13:39:22.411Z (3 months ago)
- Topics: cython, math, maths, python, python-game-development, vector
- Language: Cython
- Homepage: https://wasabigeom.readthedocs.io/
- Size: 106 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wasabigeom - fast geometry types for Python games
![Build Wheels](https://github.com/lordmauve/wasabigeom/workflows/Build%20Wheels/badge.svg?branch=master)
![PyPI](https://img.shields.io/pypi/v/wasabi-geom) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/wasabi-geom) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/wasabi-geom) [![Documentation Status](https://readthedocs.org/projects/wasabigeom/badge/?version=stable)](https://wasabigeom.readthedocs.io/en/stable/?badge=stable) [![Discord](https://img.shields.io/discord/705530610847973407)](https://discord.gg/jBWaWHU)`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](https://wasabigeom.readthedocs.io/en/stable/)
# 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`.