Anti-aliasing polygon rasterizer, capable of handling non-uniform grids.
c7f551b0b7
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) |
||
---|---|---|
.gitignore | ||
float_raster.py | ||
LICENSE.md | ||
README.md | ||
setup.py |
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