jan
c7f551b0b7
Use complex number representation for vertex coordinates,
ie. (x, y) becomes x + iy. This gives a bit of a speedup over repeating stuff for multiple arrays, and lets you keep using the numpy +- operators (unlike structured numpy arrays)
float_raster README
float_raster is a Python module for accurately drawing polygons onto non-uniform rectangular grids
float_raster calculates pixel values with float64 precision and is capable of drawing on grids with variable pixel widths and heights.
Installation
Requirements:
- python 3 (written and tested with 3.5)
- numpy
Install with pip, via git:
pip install git+https://mpxd.net/gogs/jan/float_raster.git@release
Description
Languages
Python
100%