{"id":5781,"date":"2023-09-14T22:57:49","date_gmt":"2023-09-14T22:57:49","guid":{"rendered":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/?p=5781"},"modified":"2023-09-14T22:57:51","modified_gmt":"2023-09-14T22:57:51","slug":"la-1-lsystems","status":"publish","type":"post","link":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/2023\/09\/14\/la-1-lsystems\/","title":{"rendered":"LA-1: LSystems"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Christopher O&#8217;Neill<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With this project I picked several of my favorite plants that I work with daily. I wanted to capture the plants physical features and represent them on a coaster set that was laser etched. My main issues where figuring out what parts of the code whether it be the branching rules or even as simple as changing the angles or length of the lines and manipulating them to do what I wanted. Playing with the settings and rules it finally started making more sense as to what was going on and in the end I ended up with a great set of coasters of  some of my favorite plants. <\/p>\n\n\n\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-d05cb3ef wp-block-group-is-layout-flex\">\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\/test-1-819x1024.jpg\" alt=\"\" class=\"wp-image-5800\" style=\"width:200px\" width=\"200\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/test-1-819x1024.jpg 819w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/test-1-240x300.jpg 240w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/test-1-768x960.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/test-1-1140x1425.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/test-1-920x1150.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/test-1-575x719.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/test-1-380x475.jpg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/test-1.jpg 1200w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/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\/RosemaryBush_small.jpg\" alt=\"\" class=\"wp-image-5801\" style=\"width:250px\" width=\"250\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/RosemaryBush_small.jpg 305w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/RosemaryBush_small-300x300.jpg 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/RosemaryBush_small-150x150.jpg 150w\" sizes=\"(max-width: 305px) 100vw, 305px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/RoseMaryCoaster_small-1024x768.jpg\" alt=\"\" class=\"wp-image-5803\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/RoseMaryCoaster_small-1024x768.jpg 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/RoseMaryCoaster_small-300x225.jpg 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/RoseMaryCoaster_small-768x576.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/RoseMaryCoaster_small-1536x1152.jpg 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The Rosemary bush is a great addition to the garden and food. This one took some time to figure out how to manipulate the program to make a more V shaped body of the plant. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>String axiom = \"&#091;-X]&#091;+X]&#091;-FX]&#091;+FX]&#091;FX]\";\nString &#091;]&#091;] rules = { {\"F\", \"FF\", \"F\", \"FF\"},\n{\"X\", \"+&#091;&#091;X]-X]-F&#091;-FX]+X\", \"-&#091;&#091;X]+X]+F&#091;+&#091;FX]-X]\", \"F&#091;-X]&#091;+X]\"},\n{\"+\", \"+\", \"+\", \"+\"},\n{\"-\", \"-\", \"-\", \"-\"},\n{\"&#091;\", \"&#091;\", \"&#091;\", \"&#091;\"},\n{\"]\", \"]\", \"]\", \"]\"}};<\/code><\/pre>\n\n\n\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-d05cb3ef wp-block-group-is-layout-flex\">\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\/Oklahoma_Redbud_4_BB-1-819x1024.jpeg\" alt=\"Oklahoma Redbud in full bloom before leafing out. \" class=\"wp-image-5795\" style=\"width:200px\" width=\"200\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Oklahoma_Redbud_4_BB-1-819x1024.jpeg 819w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Oklahoma_Redbud_4_BB-1-240x300.jpeg 240w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Oklahoma_Redbud_4_BB-1-768x960.jpeg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Oklahoma_Redbud_4_BB-1-1140x1425.jpeg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Oklahoma_Redbud_4_BB-1-920x1150.jpeg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Oklahoma_Redbud_4_BB-1-575x719.jpeg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Oklahoma_Redbud_4_BB-1-380x475.jpeg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Oklahoma_Redbud_4_BB-1.jpeg 1200w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/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\/OaklahomaRedBud_small.jpg\" alt=\"\" class=\"wp-image-5799\" style=\"width:200px\" width=\"200\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OaklahomaRedBud_small.jpg 288w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OaklahomaRedBud_small-150x150.jpg 150w\" sizes=\"(max-width: 288px) 100vw, 288px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large is-resized is-style-default\"><img decoding=\"async\" data-id=\"5798\" src=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-1024x768.jpg\" alt=\"\" class=\"wp-image-5798\" style=\"width:300px\" width=\"300\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-1024x768.jpg 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-300x225.jpg 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-768x576.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-1536x1152.jpg 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-2048x1536.jpg 2048w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-1140x855.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-920x690.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-575x431.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/OKRedBud_small-380x285.jpg 380w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">My redbud that I made is more of a youngling and exhibits the looks of a fully fledged teenager. This one was fairly easy as I just swapped the signs within the rules array for the &#8216;X&#8217; row.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>String axiom = \"X\";\nString &#091;]&#091;] rules = { {\"F\", \"FF\", \"FF\", \"FF\"},\n{\"X\", \"F-&#091;&#091;X]+X]+F&#091;+&#091;FX]-X]\", \"F+&#091;&#091;X]-X]-F&#091;-FX]+X\", \"F&#091;-X]&#091;+X]\"},\n{\"+\", \"+\", \"+\", \"+\"},\n{\"-\", \"-\", \"-\", \"-\"},\n{\"&#091;\", \"&#091;\", \"&#091;\", \"&#091;\"},\n{\"]\", \"]\", \"]\", \"]\"}};<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-group is-content-justification-center is-nowrap is-layout-flex wp-container-core-group-is-layout-d05cb3ef wp-block-group-is-layout-flex\">\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\/arborvita-photo_small-768x1024.jpg\" alt=\"\" class=\"wp-image-5806\" style=\"width:200px\" width=\"200\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/arborvita-photo_small-768x1024.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/arborvita-photo_small-225x300.jpg 225w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/arborvita-photo_small-1152x1536.jpg 1152w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/arborvita-photo_small-1536x2048.jpg 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/arborvita-photo_small-1140x1520.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/arborvita-photo_small-920x1227.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/arborvita-photo_small-575x767.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/arborvita-photo_small-380x507.jpg 380w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/arborvita-photo_small-scaled.jpg 1920w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/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\/Arborvita-drawing_small.jpg\" alt=\"\" class=\"wp-image-5805\" style=\"width:200px\" width=\"200\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Arborvita-drawing_small.jpg 306w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Arborvita-drawing_small-300x300.jpg 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/Arborvita-drawing_small-150x150.jpg 150w\" sizes=\"(max-width: 306px) 100vw, 306px\" \/><\/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\/ArborvitaCoaster_small-1024x768.jpg\" alt=\"\" class=\"wp-image-5807\" style=\"width:350px\" width=\"350\" srcset=\"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ArborvitaCoaster_small-1024x768.jpg 1024w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ArborvitaCoaster_small-300x225.jpg 300w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ArborvitaCoaster_small-768x576.jpg 768w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ArborvitaCoaster_small-1536x1152.jpg 1536w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ArborvitaCoaster_small-2048x1536.jpg 2048w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ArborvitaCoaster_small-1140x855.jpg 1140w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ArborvitaCoaster_small-920x690.jpg 920w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ArborvitaCoaster_small-575x431.jpg 575w, https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ArborvitaCoaster_small-380x285.jpg 380w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The Emerald Green Arborvitae have a great shape to them already but with some pruning you can cut them up into numerous shapes. One this one I changed the Axiom string to help make the plant grow upwards and not so wide. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>String axiom = \"&#091;-X]&#091;+X]&#091;-FFX]&#091;+FFX]F&#091;-FX]&#091;+FX]FF&#091;-X]&#091;+X]FF&#091;-X]&#091;+X]FF&#091;-X]&#091;+X]FF&#091;-X]&#091;+X]\";\nString &#091;]&#091;] rules = { {\"F\", \"FF\", \"F\", \"F\"},\n{\"X\", \"F&#091;-X]&#091;+X]&#091;FX]\", \"F&#091;-X]&#091;-X]&#091;-FX]&#091;FX]\", \"F&#091;+X]&#091;+X]&#091;+FX]&#091;FX]\"},\n{\"+\", \"+\", \"+\", \"+\"},\n{\"-\", \"-\", \"-\", \"-\"},\n{\"&#091;\", \"&#091;\", \"&#091;\", \"&#091;\"},\n{\"]\", \"]\", \"]\", \"]\"}};<\/code><\/pre>\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\/CompuFabCoaster.jpg\" alt=\"\" class=\"wp-image-5808\" style=\"width:200px\" width=\"200\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To complete my coaster set I made a CS 491 Computational Fab coaster. No coding necessary on this one. But completes the set nicely. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The main code can be found below. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-content\/uploads\/2023\/09\/ChristoherO_NeillLA1_Arborvita.zip<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Christopher O&#8217;Neill With this project I picked several of my favorite plants that I work with daily. I wanted to capture the plants physical features and represent them on a coaster set that was laser etched. My main issues where figuring out what parts of the code whether it be the branching rules or even as simple as changing the [&hellip;]<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,24],"tags":[28],"class_list":["post-5781","post","type-post","status-publish","format-standard","hentry","category-lsystems_23","category-studentwork23","tag-large-assignment-1"],"_links":{"self":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/5781","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\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/comments?post=5781"}],"version-history":[{"count":1,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/5781\/revisions"}],"predecessor-version":[{"id":5812,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/posts\/5781\/revisions\/5812"}],"wp:attachment":[{"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/media?parent=5781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/categories?post=5781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/handandmachine.org\/classes\/computational_fabrication\/wp-json\/wp\/v2\/tags?post=5781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}