algorithm base is in place
known bug: the polygons are drawn transparent when a non-default color
is set