{"id":378825,"date":"2023-10-01T18:00:00","date_gmt":"2023-10-02T00:00:00","guid":{"rendered":"https:\/\/laustep.github.io\/stlahblog\/posts\/torusAndCyclide.html"},"modified":"2023-10-01T18:00:00","modified_gmt":"2023-10-02T00:00:00","slug":"the-torus-and-the-elliptic-cyclide","status":"publish","type":"post","link":"https:\/\/www.r-bloggers.com\/2023\/10\/the-torus-and-the-elliptic-cyclide\/","title":{"rendered":"The torus and the elliptic cyclide"},"content":{"rendered":"<!-- \r\n<div style=\"min-height: 30px;\">\r\n[social4i size=\"small\" align=\"align-left\"]\r\n<\/div>\r\n-->\r\n\r\n<div style=\"border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 12px;\">\r\n[This article was first published on  <strong><a href=\"https:\/\/laustep.github.io\/stlahblog\/posts\/torusAndCyclide.html\"> Saturn Elephant<\/a><\/strong>, and kindly contributed to <a href=\"https:\/\/www.r-bloggers.com\/\" rel=\"nofollow\">R-bloggers<\/a>].  (You can report issue about the content on this page <a href=\"https:\/\/www.r-bloggers.com\/contact-us\/\">here<\/a>)\r\n<hr>Want to share your content on R-bloggers?<a href=\"https:\/\/www.r-bloggers.com\/add-your-blog\/\" rel=\"nofollow\"> click here<\/a> if you have a blog, or <a href=\"http:\/\/r-posts.com\/\" rel=\"nofollow\"> here<\/a> if you don't.\r\n<\/div>\n<div class=\"container-fluid\">\n  <div class=\"main col-sm-12\">\n    <div class=\"content\">\n      <p>\n        The most used parameterization of the ordinary torus (the donut) is:\n        <span class=\"math display\"\n          >\\[ \\textrm{torus}_{R,r}(u, v) = \\begin{pmatrix} (R + r \\cos v) \\cos u\n          \\\\ (R + r \\cos v) \\sin u \\\\ r \\sin v \\end{pmatrix}. \\]<\/span\n        >\n      <\/p>\n      <p>\n        The\n        <a href=\"https:\/\/en.wikipedia.org\/wiki\/Dupin_cyclide\" rel=\"nofollow\" target=\"_blank\">elliptic Dupin cyclide<\/a\n        >\n        is a generalization of the torus. It has three nonnegative parameters\n        <span class=\"math inline\">\\(c < \\mu < a\\)<\/span>, and its usual\n        parameterization is, letting\n        <span class=\"math inline\">\\(b = \\sqrt{a^2 &#8211; c^2}\\)<\/span>:\n        <span class=\"math display\"\n          >\\[ \\textrm{cyclide}_{a, c, \\mu}(u, v) = \\begin{pmatrix} \\dfrac{\\mu (c\n          &#8211; a \\cos u \\cos v) + b^2 \\cos v}{a &#8211; c \\cos u \\cos v} \\\\ \\dfrac{b (a &#8211;\n          \\mu \\cos u) \\sin v}{a &#8211; c \\cos u \\cos v} \\\\ \\dfrac{b (c \\cos v &#8211; \\mu)\n          \\sin u}{a &#8211; c \\cos u \\cos v} \\end{pmatrix}. \\]<\/span\n        >\n        The picture below shows such a cyclide in its symmetry plane\n        <span class=\"math inline\">\\(\\{z = 0\\}\\)<\/span>:\n      <\/p>\n      <p>\n        <img\n          src=\"https:\/\/i2.wp.com\/laustep.github.io\/stlahblog\/posts\/figures\/cyclide_parameters.png?w=578&#038;ssl=1\"\n        data-recalc-dims=\"1\" \/>\n      <\/p>\n      <p>For <span class=\"math inline\">\\(c=0\\)<\/span>, this is the torus.<\/p>\n      <p>\n        Here is a cyclide in 3D (image taken from\n        <a href=\"https:\/\/laustep.github.io\/stlahblog\/posts\/plotly_trisurf.html\" rel=\"nofollow\" target=\"_blank\">this post<\/a\n        >):\n      <\/p>\n      <p>\n        <img\n          src=\"https:\/\/i0.wp.com\/laustep.github.io\/stlahblog\/posts\/figures\/cyclide_parametric_colored.png?w=578&#038;ssl=1\"\n        data-recalc-dims=\"1\" \/>\n      <\/p>\n      <p>\n        I think almost everything you can do with a torus, you can do it with a\n        cyclide. For example, a parameterization of the\n        <span class=\"math inline\">\\((p,q)\\)<\/span>-torus knot is\n        <span class=\"math display\"\n          >\\[ \\textrm{torus}_{R, r}(pt, qt), \\qquad 0 \\leqslant t < 2\\pi.\n          \\]<\/span\n        >\n        Then, the\n        <em><span class=\"math inline\">\\((p,q)\\)<\/span>-cyclide knot<\/em> is\n        parameterized by\n        <span class=\"math display\"\n          >\\[ \\textrm{cyclide}_{a, c, \\mu}(pt, qt), \\qquad 0 \\leqslant t <\n          2\\pi. \\]<\/span\n        >\n        <img\n          src=\"https:\/\/i1.wp.com\/laustep.github.io\/stlahblog\/posts\/figures\/cyclideKnot.gif?w=578&#038;ssl=1\"\n        data-recalc-dims=\"1\" \/>\n      <\/p>\n      <p>Here is a <em>cyclidoidal helix<\/em>:<\/p>\n      <p>\n        <img\n          src=\"https:\/\/i0.wp.com\/laustep.github.io\/stlahblog\/posts\/figures\/cyclidoidalHelix.gif?w=578&#038;ssl=1\"\n        data-recalc-dims=\"1\" \/>\n      <\/p>\n      <p>And here is a rotoid dancing around a cyclide:<\/p>\n      <p>\n        <img\n          src=\"https:\/\/i2.wp.com\/laustep.github.io\/stlahblog\/posts\/figures\/cyclidoidalRotoid.gif?w=578&#038;ssl=1\"\n        data-recalc-dims=\"1\" \/>\n      <\/p>\n      <p>\n        I found the way to do this animation for the torus on\n        <a href=\"https:\/\/www.frassek.org\/\" rel=\"nofollow\" target=\"_blank\">this website<\/a>, and then I adapted\n        it to the cyclide.\n      <\/p>\n      <p>\n        The R code used to generate these animations is available in\n        <a href=\"https:\/\/gist.github.com\/stla\/836d149189db9cea3d683868c1520776\" rel=\"nofollow\" target=\"_blank\">this gist<\/a\n        >.\n      <\/p>\n    <\/div>\n  <\/div>\n<\/div>\n\n<div style=\"border: 1px solid; background: none repeat scroll 0 0 #EDEDED; margin: 1px; font-size: 13px;\">\r\n<div style=\"text-align: center;\">To <strong>leave a comment<\/strong> for the author, please follow the link and comment on their blog: <strong><a href=\"https:\/\/laustep.github.io\/stlahblog\/posts\/torusAndCyclide.html\"> Saturn Elephant<\/a><\/strong>.<\/div>\r\n<hr \/>\r\n<a href=\"https:\/\/www.r-bloggers.com\/\" rel=\"nofollow\">R-bloggers.com<\/a> offers <strong><a href=\"https:\/\/feedburner.google.com\/fb\/a\/mailverify?uri=RBloggers\" rel=\"nofollow\">daily e-mail updates<\/a><\/strong> about <a title=\"The R Project for Statistical Computing\" href=\"https:\/\/www.r-project.org\/\" rel=\"nofollow\">R<\/a> news and tutorials about <a title=\"R tutorials\" href=\"https:\/\/www.r-bloggers.com\/how-to-learn-r-2\/\" rel=\"nofollow\">learning R<\/a> and many other topics. <a title=\"Data science jobs\" href=\"https:\/\/www.r-users.com\/\" rel=\"nofollow\">Click here if you're looking to post or find an R\/data-science job<\/a>.\r\n\r\n<hr>Want to share your content on R-bloggers?<a href=\"https:\/\/www.r-bloggers.com\/add-your-blog\/\" rel=\"nofollow\"> click here<\/a> if you have a blog, or <a href=\"http:\/\/r-posts.com\/\" rel=\"nofollow\"> here<\/a> if you don't.\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>        The most used parameterization of the ordinary torus (the donut) is:<br \/>\n        \\[ \\textrm{torus}_{R,r}(u, v) = \\begin{pmatrix} (R + r \\cos v) \\cos u<br \/>\n          \\\\ (R + r \\cos v) \\sin u \\\\ r \\sin v \\end{pmatrix}. \\]<\/p>\n<p>  &#8230;<\/p>\n","protected":false},"author":2532,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"aioseo_notices":[],"jetpack-related-posts":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts\/378825"}],"collection":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/users\/2532"}],"replies":[{"embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/comments?post=378825"}],"version-history":[{"count":1,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts\/378825\/revisions"}],"predecessor-version":[{"id":378826,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/posts\/378825\/revisions\/378826"}],"wp:attachment":[{"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/media?parent=378825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/categories?post=378825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.r-bloggers.com\/wp-json\/wp\/v2\/tags?post=378825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}