Alternative ellipse code

A recent comment on the drawing ovals in javascript post by Maurício provided an ellipse drawing function for drawing ellipses based on the radius of the shapes greater semi-axis and its eccentricity.

Here is an interactive version of the code. Thanks Mauricio!


copy the following code to create the ellipse shown above

CODE: