{"id":905,"date":"2019-04-22T13:58:36","date_gmt":"2019-04-22T17:58:36","guid":{"rendered":"http:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/?p=905"},"modified":"2019-04-22T14:29:57","modified_gmt":"2019-04-22T18:29:57","slug":"everything-working","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/akan\/everything-working\/","title":{"rendered":"Everything Working"},"content":{"rendered":"\n<p>Sticking with my original design of the tree sculpture, I cleaned up the branches and wrapped the remainder of the fiber optics. I also decided to add a few touches of color to the tree using crepe streamers for flowers. <\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"665\" height=\"889\" src=\"http:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-content\/uploads\/sites\/9\/2019\/04\/tree.png\" alt=\"\" data-id=\"931\" class=\"wp-image-931\" srcset=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-content\/uploads\/sites\/9\/2019\/04\/tree.png 665w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-content\/uploads\/sites\/9\/2019\/04\/tree-598x800.png 598w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-content\/uploads\/sites\/9\/2019\/04\/tree-224x300.png 224w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"667\" height=\"889\" src=\"http:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-content\/uploads\/sites\/9\/2019\/04\/flowers.png\" alt=\"\" data-id=\"933\" data-link=\"http:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/?attachment_id=933\" class=\"wp-image-933\" srcset=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-content\/uploads\/sites\/9\/2019\/04\/flowers.png 667w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-content\/uploads\/sites\/9\/2019\/04\/flowers-600x800.png 600w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-content\/uploads\/sites\/9\/2019\/04\/flowers-630x840.png 630w, https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-content\/uploads\/sites\/9\/2019\/04\/flowers-225x300.png 225w\" sizes=\"auto, (max-width: 667px) 100vw, 667px\" \/><\/figure><\/li><\/ul>\n\n\n\n<p>I had difficulty modifying my code to accommodate multiple leds, as was advised by my peers to try out, especially when creating a rainbow effect with each led independent of the others. In the end, I ended up buying the PL9823 RGB LEDs because of their ability to chain together, which simplifies the circuit immensely and allows me to control each led&#8217;s color independently. The following video is my finalized code for the rainbow led effect, which uses the adafruit neopixel library.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><\/figure>\n\n\n\n<p>With everything working the way I want it to, the last things for me to do is to finalize the details. I have decided to drape black cloth at the base of the tree to cover the bottom and the connected Arduino, while also masking the leds from viewer&#8217;s eyes. I am in the process of finding a large enough rock to hold the tree up with; however, the metal wires are rather heavy and I am not sure if the tree will be able to stand on its own without leaning on something. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sticking with my original design of the tree sculpture, I cleaned up the branches and wrapped the remainder of the fiber optics. I also decided to add a few touches of color to the tree using crepe streamers for flowers. I had difficulty modifying my code to accommodate multiple leds, as was advised by my&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/akan\/everything-working\/\">Read More<\/a><\/div>\n","protected":false},"author":112,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-905","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paNkLg-eB","_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/posts\/905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/users\/112"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/comments?post=905"}],"version-history":[{"count":3,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/posts\/905\/revisions"}],"predecessor-version":[{"id":986,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/posts\/905\/revisions\/986"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/media?parent=905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/categories?post=905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/lightart-d19\/wp-json\/wp\/v2\/tags?post=905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}