Generate SVG polygons II

In first version , I was playing around with javascript to draw SVG shapes.
Version 2: Added line between each point on each line. Also visit Version III . Info Save SVG into test.svg file and import into say Sketch or Illustrator. Thanks to Gerard Sans for save PNG functionality.

Parameters

Stroke width
Corners
Radius
Min. radius
Lines
Rotate

SVG: Try altering it! :-)