{"id":5149,"date":"2010-02-06T11:45:16","date_gmt":"2010-02-06T16:45:16","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=5149"},"modified":"2010-02-06T11:45:16","modified_gmt":"2010-02-06T16:45:16","slug":"another-hypotrochoid","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2010\/02\/06\/another-hypotrochoid\/","title":{"rendered":"another hypotrochoid"},"content":{"rendered":"<p>Had another one lurking on my desktop:<\/p>\n<p><object type=\"image\/svg+xml\" width=\"400\" height=\"400\" title=\"fig-spiro11.svg\" data=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2010\/02\/fig-spiro11.svg\" \/><\/p>\n<p>and here&#8217;s the gnuplot code to generate it:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nset terminal svg size 400,400\r\n set output &quot;fig-spiro11.svg&quot;\r\n set size ratio -1\r\n set nokey\r\n set noxtics\r\n set noytics\r\n set noborder\r\n set parametric\r\n#\r\n x(t)=(R-r)*cos(t) + p*cos((R-r)*t\/r)\r\n y(t)=(R-r)*sin(t) - p*sin((R-r)*t\/r)\r\n#\r\n R=100.0; r=-37.0; p=50.0\r\n set samples 8001\r\n#\r\n plot &#x5B;t=0:320*pi] x(t),y(t)\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Had another one lurking on my desktop: and here&#8217;s the gnuplot code to generate it: set terminal svg size 400,400 set output &quot;fig-spiro11.svg&quot; set size ratio -1 set nokey set noxtics set noytics set noborder set parametric # x(t)=(R-r)*cos(t) + p*cos((R-r)*t\/r) y(t)=(R-r)*sin(t) &#8211; p*sin((R-r)*t\/r) # R=100.0; r=-37.0; p=50.0 set samples 8001 # plot &#x5B;t=0:320*pi] x(t),y(t)<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[2072,2070,1855],"class_list":["post-5149","post","type-post","status-publish","format-standard","hentry","category-computers-suck","tag-gnuplot","tag-hypotrochoid","tag-svg"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-1l3","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/5149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=5149"}],"version-history":[{"count":1,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/5149\/revisions"}],"predecessor-version":[{"id":5151,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/5149\/revisions\/5151"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=5149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=5149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=5149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}