pybarycuda
Pybaracuda is python wrapper for Barycuda - which is a tiny CUDA accelerated library with no dependencies that performs various barycentric operations. This is an attempt to speed-up a 3D renderer that I'm working on.
Currently, the library exposes the following functions:
point_in_simplex- takes an array of points, the vertices of a 2D/3D simplex, and tells you if each point lies inside the simplex.bary_simplex- takes an array of points, the vertices of a 2D/3D simplex, and returns the barycentric coordinates for each point.
Development
See the Github repo.
References
Shirley, P. (2009) Fundamentals of Computer Graphics
https://en.wikipedia.org/wiki/Barycentric_coordinate_system
https://math.stackexchange.com/questions/1226707/how-to-check-if-point-x-in-mathbbrn-is-in-a-n-simplex
Release files for pybarycuda 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pybarycuda-1.0.0.tar.gz | 200.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pybarycuda-1.0.0-py3.6-linux-x86_64.egg | Legacy Egg format | - | - | Details |
Total release size: 416.1 kB
Release files / pybarycuda-1.0.0.tar.gz
| Download URL | pybarycuda-1.0.0.tar.gz |
|---|---|
| Size | 200.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c017bdd528e6a45ba15de8a8da7cd957421800bac8b02aa1829789d313041eb6
|
|
BLAKE2b-256 checksum How to use checksums |
ca9451f7f90ffbffb81d7cc071513dda1f18332fe5b12d38dd663c64cf1f3142
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.3
|
Release files / pybarycuda-1.0.0-py3.6-linux-x86_64.egg
| Download URL | pybarycuda-1.0.0-py3.6-linux-x86_64.egg |
|---|---|
| Size | 216.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
d8b7b85a77ba7699fbc5912da5998241da3cd83d63719566f18cac2f024301b4
|
|
BLAKE2b-256 checksum How to use checksums |
58ac64abdeea0a7a60acadb5baef8550104f7206c507bbde216a7bebc81a04cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.6.3
|