{"id":457,"date":"2008-03-01T13:41:03","date_gmt":"2008-03-01T21:41:03","guid":{"rendered":"http:\/\/www.elbeno.com\/blog\/?p=457"},"modified":"2008-03-01T13:43:36","modified_gmt":"2008-03-01T21:43:36","slug":"more-on-ellipses","status":"publish","type":"post","link":"https:\/\/www.elbeno.com\/blog\/?p=457","title":{"rendered":"More on ellipses"},"content":{"rendered":"<p>I think I will use the same method as I do for B\u00c3\u00a9zier curves to step along the circumference.<\/p>\n<p>Another generalisation I had to make from the circle code is with respect to the normal. For a circle of radius r, centred on the origin, and parameterised by angle &theta;, a point on the circle is (r cos &theta;, r sin &theta;). And the normal is exactly the same: the point vector is normal to the circle.<\/p>\n<p>For an ellipse, this is not the case. For an ellipse with half-dimensions a and b, centred on the origin, and parameterised by angle &theta;, a point on the ellipse is (a cos &theta;, b sin &theta;). But the normal is (b cos &theta;, a sin &theta;).<\/p>\n<p>(Of course, the ellipse form degenerates to the circle form when a = b.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think I will use the same method as I do for B\u00c3\u00a9zier curves to step along the circumference. Another generalisation I had to make from the circle code is with respect to the normal. For a circle of radius r, centred on the origin, and parameterised by angle &theta;,&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,11,8],"tags":[],"class_list":["post-457","post","type-post","status-publish","format-standard","hentry","category-lisp","category-maths","category-programming"],"_links":{"self":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=457"}],"version-history":[{"count":0,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/457\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elbeno.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}