{"id":3715,"date":"2011-07-16T10:49:18","date_gmt":"2011-07-16T09:49:18","guid":{"rendered":"http:\/\/www.walkingrandomly.com\/?p=3715"},"modified":"2011-07-16T10:49:52","modified_gmt":"2011-07-16T09:49:52","slug":"interactive-slinky-thing","status":"publish","type":"post","link":"https:\/\/walkingrandomly.com\/?p=3715","title":{"rendered":"Interactive &#8216;Slinky Thing&#8217;"},"content":{"rendered":"<p>Over at Playing with Mathematica, Sol Lederman has been <a href=\"http:\/\/playingwithmathematica.com\/2011\/07\/12\/playing-with-particularly-pretty-polar-and-parametric-plots\/\">looking at pretty parametric and polar plots<\/a>.\u00a0 One of them really stood out for me, the one that Sol called &#8216;Slinky Thing&#8217; which could be generated with the following <a href=\"http:\/\/www.wolfram.com\/mathematica\/\">Mathematica<\/a> command.<\/p>\n<pre>ParametricPlot[{Cos[t] - Cos[80 t] Sin[t], 2 Sin[t] - Sin[80 t]}, {t, 0, 8}]<\/pre>\n<p>Out of curiosity I parametrised some of the terms and wrapped the whole thing in a Manipulate to see what I could see.  I added 5 controllable parameters by turning Sol&#8217;s equations into<\/p>\n<pre>{Cos[e t] - Cos[f t] Sin[g t], 2 Sin[h t] - Sin[i t]}, {t, 0, 8}<\/pre>\n<p style=\"text-align: left;\">Each parameter has its own slider (below).  If you have Mathematica 8, or the <a href=\"http:\/\/www.wolfram.com\/cdf-player\/\">free cdf player<\/a>, installed then the image below will turn into an interactive applet which you can use to explore the parameter space of these equations.<br \/>\n<script src=\"http:\/\/www.wolfram.com\/cdf-player\/plugin\/v1.0\/cdfplugin.js\" type=\"text\/javascript\"><\/script><script type=\"text\/javascript\">\/\/ <![CDATA[\n    var cdf = new cdf_plugin(); cdf.addCDFObject(\"slinky_applet\", \"https:\/\/www.walkingrandomly.com\/images\/mathematica8\/slinky_thing.cdf\", 437,713);\n\/\/ ]]><\/script><br \/>\n<img decoding=\"async\" id=\"slinky_applet\" src=\"https:\/\/www.walkingrandomly.com\/images\/mathematica8\/slinky_thing_placeholder.png\" alt=\"Interactive Slinky Thing\" \/><\/p>\n<p style=\"text-align: left;\">Here are four of my favourites.\u00a0 If you come up with one that you particularly like then feel free to let me know what the parameters are in the comments.<br \/>\n<img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.walkingrandomly.com\/images\/mathematica8\/slinky_thing_favs.png\" alt=\"My fav slinky things\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over at Playing with Mathematica, Sol Lederman has been looking at pretty parametric and polar plots.\u00a0 One of them really stood out for me, the one that Sol called &#8216;Slinky Thing&#8217; which could be generated with the following Mathematica command. ParametricPlot[{Cos[t] &#8211; Cos[80 t] Sin[t], 2 Sin[t] &#8211; Sin[80 t]}, {t, 0, 8}] Out of [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":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":[6,45,8,18],"tags":[],"class_list":["post-3715","post","type-post","status-publish","format-standard","hentry","category-general-math","category-just-for-fun","category-mathematica","category-wolfram-demonstrations"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3swhs-XV","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/3715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3715"}],"version-history":[{"count":14,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/3715\/revisions"}],"predecessor-version":[{"id":3729,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/3715\/revisions\/3729"}],"wp:attachment":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}