{"name":"gist: 845901","desc":"Convert a SVG path to a Polygon by sampling the path, but also including all control points in the result.","actor":"Phrogz","url":"https://gist.github.com/845901","snippet":"// http://phrogz.net/SVG/convert_path_to_polygon.xhtml\nfunction pathToPolygon(path,samples){\n\tif (!samples) samples = 0;","actor_gravatar":"2024054e404233ed97b7d9287aff103d","action":"create"}