block by amundo b1de8274a558cd6f28ee1755839a0bdf

Convert a SVG path to a Polygon by sampling the path, but also including all control points in the result. See http://phrogz.net/SVG/convert_path_to_polygon.xhtml

SVG Path to Polygon.js