Anti-aliasing polygon rasterizer, capable of handling non-uniform grids.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Jan Petykiewicz 522b610209 add .mypy_cache to .gitignore 3 years ago
float_raster typing and comment updates 3 years ago
.gitignore add .mypy_cache to .gitignore 3 years ago
LICENSE.md add license 8 years ago
MANIFEST.in Create folder-based module and use VERSION file 5 years ago
README.md Update README 5 years ago
setup.py add py.typed to enable downstream type checking 3 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:

pip3 install float_raster

Alternatively, install via git

pip3 install git+https://mpxd.net/code/jan/float_raster.git@release