Parametric SVG Curves

This shows the criteria needed to draw an SVG parametic curve. General equation: x = k cos(α) - cos(revα), y = k sin(α) - sin(revα) The following are defined: origin, amplitude, k, and rev(revolutions) . These control placement of the plotted x,y values of the parametric equation.
Parametric Curve Equation:
x=k*cos(α)-cos(rev*α)
y=k*sin(α)-sin(rev*α)

Create a curve with:
origin [ x:, y: ]
amplitude
k:
Revolutions:

(Draws new curve on change of any value.)
Points =

SVG Source:
Javascript:
OK in:IE11/CH32/FF28