Skip to main content

A tiny CUDA library for fast barycentric operations

Project description


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.


See the Github repo.


Shirley, P. (2009) Fundamentals of Computer Graphics

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

pybarycuda-1.0.0.tar.gz (200.1 kB view hashes)

Uploaded source

Built Distribution

pybarycuda-1.0.0-py3.6-linux-x86_64.egg (216.0 kB view hashes)

Uploaded 3 6

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page