Create A Star Polygon

Provide a radius, its center point, and number of star points.
Points:   Radius:  
SVG Source:
Javascript: