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)
2016-07-16 21:47:06 -07:00
2016-03-15 20:26:21 -07:00
2016-04-13 03:52:57 -07:00

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
Anti-aliasing polygon rasterizer, capable of handling non-uniform grids.
Readme 133 KiB
Languages
Python 100%