{"id":5,"date":"2017-08-22T14:37:52","date_gmt":"2017-08-22T14:37:52","guid":{"rendered":"https:\/\/geekhaus.com\/math103_fall2017\/?p=5"},"modified":"2017-08-29T18:01:53","modified_gmt":"2017-08-29T18:01:53","slug":"current-assignment","status":"publish","type":"post","link":"https:\/\/geekhaus.com\/math103_fall2017\/2017\/08\/22\/current-assignment\/","title":{"rendered":"First Day &#8211; Dragon Curves"},"content":{"rendered":"<p>Our first-day 3D print will be the <a href=\"https:\/\/www.thingiverse.com\/thing:1937697\" target=\"_blank\" rel=\"noopener\">Dragon Curve<\/a> by\u00a0UMF3D on Thingiverse, from the University of Maine at Farmington:<\/p>\n<p><a href=\"https:\/\/www.thingiverse.com\/thing:1937697\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-272 size-full\" src=\"https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1d1c438a7dbfd78f3e9983d5e465c2eb_preview_featured.jpg\" alt=\"\" width=\"628\" height=\"472\" srcset=\"https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1d1c438a7dbfd78f3e9983d5e465c2eb_preview_featured.jpg 628w, https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1d1c438a7dbfd78f3e9983d5e465c2eb_preview_featured-300x225.jpg 300w, https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1d1c438a7dbfd78f3e9983d5e465c2eb_preview_featured-326x245.jpg 326w, https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1d1c438a7dbfd78f3e9983d5e465c2eb_preview_featured-80x60.jpg 80w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/a><\/p>\n<p>This is actually only the &#8220;seventh iteration&#8221; of the fractal known as the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Dragon_curve\" target=\"_blank\" rel=\"noopener\">Dragon Curve<\/a>; like many fractals, the true Dragon Curve is the result of applying a certain process infinitely many times, but the model we are printing is the result of applying that process only seven times.<\/p>\n<h2>Start your prints!<\/h2>\n<p>We have three different types of 3D printers in JMU 3SPACE, and each one operates a little differently. The Afinias are operated from the computer with the &#8220;3D&#8221; software. This software opens STL files, slices them, and sends them directly to the printer. The Ultimaker printers are operated from their own screen an jog wheel, with files on an SD or USB card that were previously sliced the the software &#8220;Cura&#8221;. We&#8217;ll learn more about this later on; right now we just want to print something!<\/p>\n<p><strong>To start a Dragon Curve print on an Afinia:<\/strong><\/p>\n<ul>\n<li>The &#8220;3D&#8221; software should already be open on your computer, with model already be loaded and proper settings already in place.<\/li>\n<li>From the &#8220;3D&#8221; software, choose the <strong>3D Print<\/strong> <strong>drop-down menu<\/strong> from the very top of the screen (*not* the button icon labeled 3D print), and select <strong>Table Heat 15 mins<\/strong>.<\/li>\n<li>Now press the <strong>3D Print button<\/strong>, which inexplicably looks like a 2D paper printer, then press &#8220;OK&#8221;.<\/li>\n<\/ul>\n<p><strong>To start a Dragon Curve print on an Ultimaker:<\/strong><\/p>\n<ul>\n<li>The model should already be sliced and ready on an SD card or USB drive inserted into the front of the printer.<\/li>\n<li>Move the jog wheel on the front of the machine to select <strong>Print<\/strong>, and press the jog wheel like a button.<\/li>\n<li>Use the jog wheel to select the file <strong>UM2E_dragon7 <\/strong>or<strong> UM3_dragon7<\/strong>, depending on the model of your machine, and press the button when that file is highlighted.<\/li>\n<\/ul>\n<h2>What is the Dragon Curve?<\/h2>\n<p>Below\u00a0is an <a href=\"https:\/\/en.wikipedia.org\/wiki\/File:DragonCurve_animation.gif\" target=\"_blank\" rel=\"noopener\">Wikipedia animation<\/a> of a sequence of iterations of the Dragon curve, starting from a simple right angle and getting more complex each time. Note that as the interations increase, the one-dimensional curve starts to fill what seems to be a two-dimensional shape. Also, in the later iterations you can see the Dragon Curve seems to have smaller copies of itself inside of itself (!).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-276 size-full aligncenter\" src=\"https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/400px-DragonCurve_animation.gif\" alt=\"\" width=\"400\" height=\"300\" \/><\/p>\n<p>There are many different ways that the Dragon Curve can be generated. Here are three of them:<\/p>\n<p><strong>Method 1: \u00a0Replace lines with right angle shapes, then repeat<\/strong><br \/>\nAs described in the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Dragon_curve\" target=\"_blank\" rel=\"noopener\">Wikipedia article<\/a>: &#8220;Starting from a base segment, replace each segment by 2 segments with a right angle and with a rotation of 45\u00b0 alternatively to the right and to the left.&#8221; This is perhaps the hardest of the three methods to visualize, but when we learn about recursive coding methods and fractal dimension later on, this method might turn out to be the easiest.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-331 size-large\" src=\"https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1280px-Dragon_curve_iterations_2.svg_-1024x121.png\" alt=\"\" width=\"1024\" height=\"121\" srcset=\"https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1280px-Dragon_curve_iterations_2.svg_-1024x121.png 1024w, https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1280px-Dragon_curve_iterations_2.svg_-300x35.png 300w, https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1280px-Dragon_curve_iterations_2.svg_-768x91.png 768w, https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/1280px-Dragon_curve_iterations_2.svg_.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Method 2: \u00a0Unfold by rotating a new copy of each iteration by 90 degrees<\/strong><br \/>\nPut two idential iterations on top of one another and pretend they are hinged at one end, then rotate the top copy 90 degrees. You can try this with multiple copies of the Seventh Iteration Dragon Curve that we are 3D printing in class. Two copies of the Seventh Iteration will make the Eighth Iteration, then two copies of the Eighth Iteration (which is four copies of the Seventh) will make the Ninth, and so on.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-332 size-full\" src=\"https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/Dragon_Curve_Unfolding.gif\" alt=\"\" width=\"346\" height=\"314\" \/><\/p>\n<p><strong>Method 3: \u00a0Fold paper in half over and over<\/strong><br \/>\nTake a long strip of paper and fold it in half, then in half again the &#8220;same way&#8221;, then in half again, and so on. Unfold the paper to make a sequence of right angles; this will be an iteration of the Dragon Curve! In some sense this is just the reverse of the method above, if you think about it. Here is an image of the First through Fourth Iterations with paper-folding, from <a href=\"http:\/\/www.cutoutfoldup.com\/216-dragon-curve.php\" target=\"_blank\" rel=\"noopener\">CutOutFoldUp<\/a>:<\/p>\n<p><a href=\"http:\/\/www.cutoutfoldup.com\/216-dragon-curve.php\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-333 size-full\" src=\"https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/0216-s03b-1.jpg\" alt=\"\" width=\"400\" height=\"224\" srcset=\"https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/0216-s03b-1.jpg 400w, https:\/\/geekhaus.com\/math103_fall2017\/wp-content\/uploads\/2017\/08\/0216-s03b-1-300x168.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>And finally, here is a great <a href=\"https:\/\/www.youtube.com\/watch?v=wCyC-K_PnRY\" target=\"_blank\" rel=\"noopener\">Numberphile video<\/a> about the paper-folding method of constructing the Dragon Curve:<\/p>\n<p><iframe loading=\"lazy\" title=\"Dragon Curve - Numberphile\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/wCyC-K_PnRY?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h2>Future questions<\/h2>\n<ul>\n<li>What generalizations or modifications of the Dragon Curve might be interesting?<\/li>\n<li>The Dragon Curve is a space-filling curve; what does that mean?<\/li>\n<li>Multiple Dragon Curves will tile the plane; what does that mean?<\/li>\n<li>Is there a three-dimensional analogue to the Dragon Curve?<\/li>\n<li>What sorts of 3D models of the Dragon Curve have people already created, and how could we take that work a step further?<\/li>\n<li>What could we 3D print to enable us to easily make a large-scale model of a high iteration of the Dragon Curve?<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Our first-day 3D print will be the Dragon Curve by\u00a0UMF3D on Thingiverse, from the University of Maine at Farmington: This is actually only the &#8220;seventh iteration&#8221; of the fractal known as the Dragon Curve; like many fractals, the true Dragon Curve is the result of <a class=\"mh-excerpt-more\" href=\"https:\/\/geekhaus.com\/math103_fall2017\/2017\/08\/22\/current-assignment\/\" title=\"First Day &#8211; Dragon Curves\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":272,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"coauthors":[],"_links":{"self":[{"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/posts\/5"}],"collection":[{"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":33,"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":505,"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/posts\/5\/revisions\/505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/media\/272"}],"wp:attachment":[{"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/categories?post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/tags?post=5"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/geekhaus.com\/math103_fall2017\/wp-json\/wp\/v2\/coauthors?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}