{"id":244,"date":"2015-10-07T14:59:19","date_gmt":"2015-10-07T14:59:19","guid":{"rendered":"http:\/\/www.zoebachman.net\/itp\/?p=244"},"modified":"2015-10-07T14:59:19","modified_gmt":"2015-10-07T14:59:19","slug":"icm-wk-4-5-synthesis-lab","status":"publish","type":"post","link":"http:\/\/www.zoebachman.net\/itp\/?p=244","title":{"rendered":"ICM, Wk 4.5: Synthesis Lab"},"content":{"rendered":"<p>Almost forgot! The Synthesis Lab!<\/p>\n<p>On the whole, I enjoyed the synthesis lab last Friday. I liked the fun-spirited nature of what had previously seemed a quite-daunting task: connecting our arduinos to communciate with p5.js. In PComp last Thursday, Benedetta was very wary of how it would all go, given that p5.js is still very new and there were some things still to be worked out. <\/p>\n<p>Given the \u201cDesign Challenge\u201d nature of the lab, particularly the one hour time constraint \u2013 there wasn\u2019t much thought given to the idiosyncrasies of p5. It was hard to tell if a problem came from our code or from something else and TBH, me and my partner got to the actual serial communication aspect of our project on the later side. <\/p>\n<p>Quick summarization of our idea: We wanted to make a virtual slot machine, where when you pressed a button a combination of images would appear with a related short poem. We had a couple different inspirations, one being a project I did with my art collective in Baltimore: <a = href\"http:\/\/luminousintervention.org\/content\/baltimore-take-your-chances-occupy-baltimore-anniversary\">\u201cBaltimore, Take Your Chances\u201d<\/a>. When we did this project, we tried to hook up a button to manipulate the slot machine, but ended up faking it instead. I wanted to see if we could actually do something like that. <\/p>\n<p>While we were discussing what exactly would emerge form the slot machine, Renata had the idea of Haikus and showed me the work of <a href=\"http:\/\/www.newrafael.com\/haiku\/page\/2\/\">Rafael Rozendaal<\/a>. We liked his poems about everyday experiences and objects and thought we could do an interpretation using items from around ITP. <\/p>\n<p>In terms of the coding, we created three arrays of images for the slot machine and three arrays of text for the corresponding poems. What we wanted to happen was that the images would appear like they were spinning\/randomizing, then settle on an image and whatever text corresponded would appear below, with randomized verbs and prepositions interspersed to give form and coherence to the sentence. <\/p>\n<p>We got as far as creating our arrays and having them alternate between three different possibilities. <\/p>\n<p><script src=\"https:\/\/gist.github.com\/zoebachman\/62bcf2cedff9811c3d1b.js\"><\/script><\/p>\n<p>Then we tried to add in a switch to alternate between the states \u2013 but realized on the late end that because of the way that our code was written and using a digital input, we could only switch between and \u201cOFF\u201d and an \u201cON\u201d state, and that whenever it went to the \u201cON\u201d state, it would only show the first possibility, since when it would turn off it would reset. People who looked at the project later mentioned we could try using analog input or a bounce() function. <\/p>\n<p><script src=\"https:\/\/gist.github.com\/zoebachman\/d27e0f6d439f2a840a38.js\"><\/script><\/p>\n<p>Still, pretty happy with what we came up with in about an hour\u2019s time. Would definitely be interested in expanding it more at a later date. <\/p>\n<p><a href=\"http:\/\/www.zoebachman.net\/itp\/wp-content\/uploads\/2015\/10\/week05_02.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.zoebachman.net\/itp\/wp-content\/uploads\/2015\/10\/week05_02-300x225.jpg\" alt=\"week05_02\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-245\" srcset=\"http:\/\/www.zoebachman.net\/itp\/wp-content\/uploads\/2015\/10\/week05_02-300x225.jpg 300w, http:\/\/www.zoebachman.net\/itp\/wp-content\/uploads\/2015\/10\/week05_02.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Check out <a href=\"http:\/\/www.gauirenata.com\/2015\/10\/04\/icm-friday-workshop\/\">Renata\u2019s post<\/a> to hear more!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Almost forgot! The Synthesis Lab! On the whole, I enjoyed the synthesis lab last Friday. I liked the fun-spirited nature of what had previously seemed a quite-daunting task: connecting our arduinos to communciate with p5.js. In PComp last Thursday, Benedetta &hellip; <a href=\"http:\/\/www.zoebachman.net\/itp\/?p=244\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[35,53,10,65,15,64],"class_list":["post-244","post","type-post","status-publish","format-standard","hentry","category-icm","category-pcomp","tag-arduino","tag-array","tag-icm","tag-luminous-intervention","tag-pcomp","tag-serial-communication"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=244"}],"version-history":[{"count":1,"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=\/wp\/v2\/posts\/244\/revisions"}],"predecessor-version":[{"id":247,"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=\/wp\/v2\/posts\/244\/revisions\/247"}],"wp:attachment":[{"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoebachman.net\/itp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}