hansent / python-poly2tri

python-poly2tri

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a mirror/fork of the poly2tri.python project.

I intend to keep the code mostly intact, but have converted the mercurial
repo to git for worflow reasons, and may make slight changes according to needs.


The original project can be found here: 
http://code.google.com/p/poly2tri/source/checkout?repo=python

it provides a python extension to use the C++ library poly2tri:
http://code.google.com/p/poly2tri/


Many thanks to the authors of this fine library:
  Mason Green <mason.green@gmail.com> (C++, Python)
  Thomas Åhlén <thahlen@gmail.com>    (Java)





Below are the contents of the orignal README:

==================
INSTALLATION GUIDE
==================

------------
Dependencies
------------

  Core poly2tri lib:
  - Cython (0.14.1)
  
  Testbed:
  - Pygame

  Building:
  - setuptools

----------------------------------------------
Building the library
----------------------------------------------

python setup.py build_ext -i

----------------------------------------------
Running the Examples
----------------------------------------------

python test.py <filename> <translate-x> <translate-y> <zoom>

Examples:

  python test.py data/dude.dat 100 -200 1
  python test.py data/nazca_monkey.dat 400 300 4.5

About

python-poly2tri


Languages

Language:C++ 86.2%Language:Python 11.6%Language:C 2.2%