{"id":5354,"date":"2023-09-12T21:34:25","date_gmt":"2023-09-12T21:34:25","guid":{"rendered":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/?p=5354"},"modified":"2023-09-23T01:48:46","modified_gmt":"2023-09-23T01:48:46","slug":"large-assignment-1-l-systems-2","status":"publish","type":"post","link":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/2023\/09\/12\/large-assignment-1-l-systems-2\/","title":{"rendered":"Large Assignment 1: L-Systems"},"content":{"rendered":"\n<p class=\"has-normal-font-size wp-block-paragraph\">by Daniel Morales-Garcia<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"has-larger-font-size wp-block-paragraph\"><strong>Part 1: Turtle Geometry<\/strong><\/p>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>1.) polygonHalt()<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Looking at the &#8216;polygonHalt&#8217; function, it moves the turtle forward a certain distance (&#8216;size&#8217;) and then turns it by a certain angle (&#8216;angle&#8217;). It continues doing this until the total rotation is a multiple of 360 degrees, at which point the turtle stops.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1970\" height=\"820\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM.png\" alt=\"\" class=\"wp-image-5357\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM.png 1970w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM-300x125.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM-1024x426.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM-768x320.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM-1536x639.png 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM-1140x475.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM-920x383.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM-575x239.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-4.52.29-PM-380x158.png 380w\" sizes=\"auto, (max-width: 1970px) 100vw, 1970px\" \/><figcaption class=\"wp-element-caption\"><em>Code Sample of &#8216;polygonHalt<\/em>&#8216; <em>function.<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To solve the given problems, I started determining the number of segments that the turtle will make, and the length of each segment.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The total rotation before halting is the smallest multiple of the &#8216;angle&#8217; that is greater than or equal to 360. If &#8216;angle&#8217; divides 360 evenly, then the total rotation is 360. Otherwise, it will be some multiple of the angle greater than 360. The number of segments n is the total rotation divided by the &#8216;angle&#8217;.<\/li>\n\n\n\n<li>Since we are considering a circle approximation, the total circumference <em>C<\/em> is <em>n<\/em> \u00d7 size.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1.a) polygonHalt(1, 1)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The turtle moves forward by 1 unit and turns 1 degree, repeating this until it completes a full circle. Therefore, the turtle will make 360 segments of 1 unit each.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, the total circumference <em>C<\/em> = 360 \u00d7 1 = 360 units.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If I plug in 360 into the equation for radius if a circle, I get the following:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"294\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-5.55.19-PM-1024x294.png\" alt=\"\" class=\"wp-image-5359\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-5.55.19-PM-1024x294.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-5.55.19-PM-300x86.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-5.55.19-PM-768x221.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-5.55.19-PM-1140x327.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-5.55.19-PM-920x264.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-5.55.19-PM-575x165.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-5.55.19-PM-380x109.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-5.55.19-PM.png 1372w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The radius of the circle is approximately 57.3 units.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1.b) polygonHalt(<em>n<\/em>, <em>n<\/em>)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The curvature remains constant since the &#8216;angle&#8217; is always the &#8216;size&#8217; for each function call. So for any function call polygonHalt(<em>n<\/em>, <em>n<\/em>):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The circumference C = 360 \u00d7 <em>n<\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Given that the curvature remains the same, the radius r for each of these circles will be the same as in part a.<\/p>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>2.) Theorem Application<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Imagine a gentle arcing path that for simplicity&#8217;s sake does not cross itself. Think of it as half of a perfect circle or a section of a curve that one might find in nature. Now, connect the two endpoints of this arc with a straight line, as visible below in Figure 1.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"596\" height=\"262\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-7.23.53-PM.png\" alt=\"\" class=\"wp-image-5361\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-7.23.53-PM.png 596w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-7.23.53-PM-300x132.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-7.23.53-PM-575x253.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-12-at-7.23.53-PM-380x167.png 380w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><figcaption class=\"wp-element-caption\"><em>Figure 1: A simple arc with its two endpoints connected by a straight line. The arc makes two interior angles, A and B, with the straight line.<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The Simple-Closed-Path Theorem:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As mentioned in the reading from the Introduction to Turtle Geometry, the Simple-Closed-Path Theorem asserts that the total turning in any simple closed path is an integer multiple of 360\u00b0. It&#8217;s a fascinating idea that speaks to the rotation and turning one experiences as they traverse a closed path.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Relating the Arc to the Theorem:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, if we think of our arc and the straight line as forming a simple closed path, the theorem can be applied. Given that the arc does not intersect with the straight line anywhere except at the endpoints, we can see that our arc combined with the straight line forms a simple shape similar to a <em>&#8216;D&#8217;.<\/em> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Given the theorem, the exterior angles of our <em>&#8216;D<\/em>&#8216; shaped figure would sum up to 360\u00b0. Since the exterior angle at any point on a straight line is 180\u00b0, the total turning over the arc would be: 360\u00b0 &#8211; 180\u00b0 = 180\u00b0.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, <em>A + B<\/em> = 180\u00b0.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"has-larger-font-size wp-block-paragraph\"><strong>Part 2: L-Systems<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L-System 1: Unidentified Tree<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following tree might strike a chord of familiarity with many, as it stands right outside UNM\u2019s Mechanical Engineering Building. Although unidentified, the tree&#8217;s distinct vase-like shape and cordate green leaves does not go unappreciated.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3-768x1024.jpeg\" alt=\"\" class=\"wp-image-5884\" style=\"width:540px\" width=\"540\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3-768x1023.jpeg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3-225x300.jpeg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3-1153x1536.jpeg 1153w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3-1537x2048.jpeg 1537w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3-1140x1519.jpeg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3-920x1226.jpeg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3-575x766.jpeg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3-380x506.jpeg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-927772C8-C539-4A97-A094-241918D0A931-4038A9D6-42B0-4A41-82A3-FFAA3579C4CC-3.jpeg 1816w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\"><em>Unidentified tree outside of UNM&#8217;s Mechanical Engineering building.<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Crafting the L-System for the unidentified tree outside the Mechanical Engineering building was a mix of trial, error, and some luck when it came to the randomization of the tree. Capturing its vase shape while maintaining a rounded shape with erratic branches and leaves was not a quick task. I wanted to showcase the tree&#8217;s intricate branches, which meant being strategic with the leaf placement\/size. Too many leaves, and the branches would disappear. Too few, and the tree looked bare. I eventually came up with the following L-System drawing that I was satisfied with.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.07.18-AM-1024x166.png\" alt=\"\" class=\"wp-image-5885\" style=\"width:640px\" width=\"640\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.07.18-AM-1024x166.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.07.18-AM-300x49.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.07.18-AM-768x124.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.07.18-AM-1140x185.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.07.18-AM-920x149.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.07.18-AM-575x93.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.07.18-AM-380x62.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.07.18-AM.png 1420w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Unidentified Tree L-System Pattern<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.15.47-AM.png\" alt=\"\" class=\"wp-image-5886\" style=\"width:540px\" width=\"540\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.15.47-AM.png 648w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.15.47-AM-300x248.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.15.47-AM-575x476.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-19-at-2.15.47-AM-380x314.png 380w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><figcaption class=\"wp-element-caption\"><em>L-System: Unidentified Tree<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L-System 2: <\/strong><em><strong>Dieffenbachia (Dumb Cane)<\/strong><\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dumb Cane (Dieffenbachia), is a popular houseplant that I came across at my workplace. With its characteristic broad leaves marked with splashes of white tint, it&#8217;s not just a vibrant decoration but also an exciting plant for my L-System model. The plant\u2019s vertical growth with intermittent branching and alternating droopy leaf arrangement offered insights into crafting a model that represents its stature and aesthetic.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B-768x1024.jpeg\" alt=\"\" class=\"wp-image-5446\" style=\"width:540px\" width=\"540\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B-768x1023.jpeg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B-225x300.jpeg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B-1153x1536.jpeg 1153w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B-1537x2048.jpeg 1537w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B-1140x1519.jpeg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B-920x1226.jpeg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B-575x766.jpeg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B-380x506.jpeg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-CFED2A50-0214-4D24-B117-5B1E1C0DC815-5898FB48-E53C-477E-9588-510B91754E5B.jpeg 1816w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\"><em>Dieffenbachia (Dumb Cane)<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Working out the L-System for the Dumb Cane was tougher than expected. The symmetry of the plant, especially how the leaves angled became my biggest challenge. I spent some time tweaking the rotation angles, aiming to capture that natural bend and droop the closer leaves have, as if they&#8217;re leaning forward.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-8.19.46-AM.png\" alt=\"This image has an empty alt attribute; its file name is Screen-Shot-2023-09-14-at-8.19.46-AM.png\" style=\"width:530px\" width=\"530\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Dumb Cane L-System Pattern<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM-1024x1013.png\" alt=\"\" class=\"wp-image-5611\" style=\"width:540px\" width=\"540\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM-1024x1013.png 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM-300x297.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM-768x760.png 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM-1536x1520.png 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM-1140x1128.png 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM-920x910.png 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM-575x569.png 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM-380x376.png 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-6.49.27-AM.png 1686w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>L-System Dumb Cane<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L-System 3: Unidentified Bush<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Right outside my house I encountered this beautiful unidentified bush. While there&#8217;s nothing flashy about this bush, the symmetry captivated me to create an L-System for this plant.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-768x1024.jpg\" alt=\"\" class=\"wp-image-5691\" style=\"width:540px\" width=\"540\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-768x1024.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-225x300.jpg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-1152x1536.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-1536x2048.jpg 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-1140x1520.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-920x1227.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-575x767.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-380x507.jpg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/IMG_2731-3-scaled.jpg 1920w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><figcaption class=\"wp-element-caption\"><em>Unidentified Bush<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Developing the L-System was straightforward, but did present some challenges. My initial challenge was striking the right balance with the leaf size. I wanted to show off some of the branches underneath, but every time I got that right, the bush looked way too hollow. It was like trying to find the sweet spot between a full-bodied bush and a skeletal frame. It took quite a few tweaks and lots of back and forths, but eventually, I managed to get a representation that did justice to its natural blend of leaves and branches. The process was both frustrating and rewarding.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-4.13.38-AM.png\" alt=\"This image has an empty alt attribute; its file name is Screen-Shot-2023-09-14-at-4.13.38-AM.png\" style=\"width:540px\" width=\"540\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Mystery<\/em><em>Bush L-System Pattern<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"348\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-3.52.26-AM.png\" alt=\"\" class=\"wp-image-5590\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-3.52.26-AM.png 440w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-3.52.26-AM-300x237.png 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Screen-Shot-2023-09-14-at-3.52.26-AM-380x301.png 380w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><figcaption class=\"wp-element-caption\"><em>L-System Bush<\/em><\/figcaption><\/figure>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Fabricated Design on Clothing<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I chose to go with the tree for my fabrication design. I printed on an old T-shirt that I wear around the house. One of the primary issues I grappled with was scaling. I found that I wanted the tree to look like a small logo on the T-shirt. It took me a few tries printing before I was able to find what I think is the perfect size, but I am content with the result!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632-768x1024.jpeg\" alt=\"\" class=\"wp-image-5895\" style=\"width:540px\" width=\"540\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632-768x1023.jpeg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632-225x300.jpeg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632-1153x1536.jpeg 1153w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632-1537x2048.jpeg 1537w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632-1140x1519.jpeg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632-920x1226.jpeg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632-575x766.jpeg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632-380x506.jpeg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-DE18EAE8-B7C4-4242-A578-5578BA820191-90859C0C-2049-487C-B593-844A639BC632.jpeg 1816w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC-768x1024.jpeg\" alt=\"\" class=\"wp-image-5896\" style=\"width:540px\" width=\"540\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC-768x1023.jpeg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC-225x300.jpeg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC-1153x1536.jpeg 1153w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC-1537x2048.jpeg 1537w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC-1140x1519.jpeg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC-920x1226.jpeg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC-575x766.jpeg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC-380x506.jpeg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-83E6104E-09AB-47F1-B0D8-95F26B4D5B35-420AFA54-9D06-4C88-87E6-A4F14E3A3ECC.jpeg 1816w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-1024x768.jpeg\" alt=\"\" class=\"wp-image-5897\" style=\"width:540px\" width=\"540\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-1024x768.jpeg 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-300x225.jpeg 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-768x576.jpeg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-1536x1153.jpeg 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-2048x1537.jpeg 2048w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-1140x855.jpeg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-920x690.jpeg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-575x431.jpeg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/processed-BDB4F3F2-52FF-4A2B-B4A2-011CE91506D9-47163359-8E1A-4D1E-9EFE-BB393B9B5E93-380x285.jpeg 380w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Code<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/DanielMoralesLA1.zip\">https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/DanielMoralesLA1.zip<\/a><\/p>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Sources<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Petruzzello, Melissa. (2023, February 10). Dumb Cane. <em>Britannica<\/em>. https:\/\/www.britannica.com\/plant\/dumb-cane\/additional-info#history<\/p>\n","protected":false},"excerpt":{"rendered":"<p>by Daniel Morales-Garcia Part 1: Turtle Geometry 1.) polygonHalt() Looking at the &#8216;polygonHalt&#8217; function, it moves the turtle forward a certain distance (&#8216;size&#8217;) and then turns it by a certain angle (&#8216;angle&#8217;). It continues doing this until the total rotation is a multiple of 360 degrees, at which point the turtle stops. To solve the given problems, I started determining [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,24],"tags":[],"class_list":["post-5354","post","type-post","status-publish","format-standard","hentry","category-lsystems_23","category-studentwork23"],"_links":{"self":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/5354","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\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/comments?post=5354"}],"version-history":[{"count":3,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/5354\/revisions"}],"predecessor-version":[{"id":5898,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/5354\/revisions\/5898"}],"wp:attachment":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/media?parent=5354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/categories?post=5354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/tags?post=5354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}