{"id":5451,"date":"2023-09-14T13:14:04","date_gmt":"2023-09-14T13:14:04","guid":{"rendered":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/?p=5451"},"modified":"2023-09-14T13:14:06","modified_gmt":"2023-09-14T13:14:06","slug":"andy-thornhill-large-assignment-1","status":"publish","type":"post","link":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/2023\/09\/14\/andy-thornhill-large-assignment-1\/","title":{"rendered":"Andy Thornhill &#8211; Large Assignment 1"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"text-decoration: underline\"><strong>Part 1: Turtle Geometry:<\/strong><\/span> <br>PolyHalt(1,1) radius = 57.2<br>For all the different measurements where angle and length are equal, the circumference of the circle is 360 units. <br>Circumference of a circle = 2*pi*r<br>360 =2*pi*r<br>360\/(2*pi) = r<br>57.2957795131 = r<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"text-decoration: underline\"><strong>Part 2: L-Systems<\/strong><\/span><br>For my L-Systems, I chose a Tree, Yucca, and a Tumbleweed to model.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the Tree, we have a tree in my parent&#8217;s front yard that we planted back when I was a kid.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"310\" height=\"689\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-5.png\" alt=\"\" class=\"wp-image-5548\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-5.png 310w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-5-135x300.png 135w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"331\" height=\"346\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-8.png\" alt=\"\" class=\"wp-image-5551\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-8.png 331w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-8-287x300.png 287w\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I had a difficult time setting up my branches to avoid creating one long branch with many shorter branches, but I found success when I included a random multiplier to the &#8220;size&#8221; variable (distance each segment) along with some small variance from the LSystem language. So there are very few\/no lines that are the same length. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the Yucca, I also started with the picture from my parents front yard. The Yucca used to have one of those long stems sticking out of the top of it (unfortunately it was cut down recently and I couldn&#8217;t find a good photo of it) which is what I wanted to model:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10-1024x989.png\" alt=\"\" class=\"wp-image-5613\" style=\"width:410px;height:396px\" width=\"410\" height=\"396\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10-1024x989.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10-300x290.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10-768x742.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10-1536x1484.png 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10-1140x1101.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10-920x889.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10-575x556.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10-380x367.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-10.png 1800w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"76\" height=\"386\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/yPicture.png\" alt=\"\" class=\"wp-image-5554\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/yPicture.png 76w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/yPicture-59x300.png 59w\" sizes=\"auto, (max-width: 76px) 100vw, 76px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I had an especially hard time getting the system to avoid making too many large branches away from the base. But after using some statements in the rules with just [X] and putting the F statement after all of the &#8220;branches&#8221; instead of before &#8211; the Yucca kept many smaller branches near the base, and only a couple larger ones near the top of the stem, which is what I was aiming for.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The last plant I wanted to model is a tumbleweed, unfortunately I completely spaced on getting a picture of a tumbleweed (Taking pictures of tumbleweeds is not something I normally think about doing), so I am using a picture of one i found online here: <a href=\"https:\/\/en.wikipedia.org\/wiki\/File:Tumbleweed_in_motion.webm\">https:\/\/en.wikipedia.org\/wiki\/File:Tumbleweed_in_motion.webm<\/a><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/852px-Tumbleweed_in_motion.webm.jpg\" alt=\"\" class=\"wp-image-5557\" style=\"width:694px;height:391px\" width=\"694\" height=\"391\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/852px-Tumbleweed_in_motion.webm.jpg 852w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/852px-Tumbleweed_in_motion.webm-300x169.jpg 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/852px-Tumbleweed_in_motion.webm-768x433.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/852px-Tumbleweed_in_motion.webm-575x324.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/852px-Tumbleweed_in_motion.webm-380x214.jpg 380w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"238\" height=\"233\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/picture.png\" alt=\"\" class=\"wp-image-5559\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I think this is my favorite of the plants that I modeled.  The design looks unique, and although it doesn&#8217;t immediately resemble a tumbleweed, the core properties are there: pointy stickers everywhere, I had initially intended for the &#8220;branches&#8221; to be varying lengths, but I couldn&#8217;t find a good methodology that allowed me to do so that didn&#8217;t end up in one branch being significantly longer than all the others, or the image to quickly turn into a jumbled mess where there were no identifiable features of a tumbleweed. Varying angles had similar results, so I had to stick to a smaller angle with many +,- calls.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a fabricated object, I printed out the design and put it on an ornament! There wasn&#8217;t too much difficulty getting the printed fabric onto the ornament itself, I just had to remember to make sure to put the fabric it was printed on in the correct orientation when I put it in my printer. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9-983x1024.png\" alt=\"\" class=\"wp-image-5612\" style=\"width:575px;height:599px\" width=\"575\" height=\"599\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9-983x1024.png 983w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9-288x300.png 288w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9-768x800.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9-1474x1536.png 1474w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9-1140x1188.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9-920x959.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9-575x599.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9-380x396.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/image-9.png 1800w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Link to my code:<br><a href=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Large-Assignment-1.zip\">https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Large-Assignment-1.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Part 1: Turtle Geometry: PolyHalt(1,1) radius = 57.2For all the different measurements where angle and length are equal, the circumference of the circle is 360 units. Circumference of a circle = 2*pi*r360 =2*pi*r360\/(2*pi) = r57.2957795131 = r Part 2: L-SystemsFor my L-Systems, I chose a Tree, Yucca, and a Tumbleweed to model. For the Tree, we have a tree in [&hellip;]<\/p>\n","protected":false},"author":26,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-5451","post","type-post","status-publish","format-standard","hentry","category-lsystems_23"],"_links":{"self":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/5451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/comments?post=5451"}],"version-history":[{"count":5,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/5451\/revisions"}],"predecessor-version":[{"id":5616,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/5451\/revisions\/5616"}],"wp:attachment":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/media?parent=5451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/categories?post=5451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/tags?post=5451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}