sample the signed distance field of a polygon in 2d space
github.com/tmpvar/sdf-polygon-2d
tmpvar/sdf-polygon-2d