http://www.best.com/~xah/SpecialPlaneCurves_dir/Ellipse_dir/ellipse.html