Anti-aliasing polygon rasterizer, capable of handling non-uniform grids.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jan d418ff149d Perform [(x,y,v),...] -> ndarray conversion using complex numbers 5 years ago
.gitignore add all files 6 years ago
LICENSE.md add license 6 years ago
README.md switch to code style and remove --upgrade 6 years ago
float_raster.py Perform [(x,y,v),...] -> ndarray conversion using complex numbers 5 years ago
setup.py Use scipy.sparse.coo_matrix instead of numpy.histogram2d to get a decent speedup 5 years ago

README.md

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