Skip to content

hansent/python-poly2tri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <[email protected]> (C++, Python)
  Thomas Åhlén <[email protected]>    (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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published