Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.
risknu edited this page Dec 1, 2023 · 3 revisions

rivector - risknu vectors

This Python library introduces a set of fast vector classes, designed for convenient and rapid vector operations, similar to those in Unity. It is well-suited for game development using Pygame and also useful for general mathematical applications. The library is open source and available on GitHub.

How it Works and Why It's Fast

The core mathematical logic and vector class are entirely written in C++. They are then utilized through CPython in Python, transforming it into a wrapper class that can be fully utilized in Python. Speaking of its power, here are some speed-related details, including a comparison with the popular numpy library in mathematics:

figure 1

+ Vector2Wrapper 0.8779744120547548
- NumPy 1.6510654900339432