{"id":1881,"date":"2021-10-11T02:33:53","date_gmt":"2021-10-11T06:33:53","guid":{"rendered":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/?p=1881"},"modified":"2021-10-11T02:33:53","modified_gmt":"2021-10-11T06:33:53","slug":"final-project","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/jlduerk\/final-project\/","title":{"rendered":"Final Project"},"content":{"rendered":"\n<p>In this project, the two people interacting each get one sensor to touch &#8212; one representing vertical and one representing horizontal movement on the screen. The screen displays the lines drawn by the users as well as a stencil they can try to trace. Pressing the spacebar on the keyboard removes all drawn lines and changes the stencil shown in the background. The theme for this project was Connection, so I focused on the teamwork aspect of connecting with others.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"Final Project\" width=\"1000\" height=\"563\" src=\"https:\/\/www.youtube.com\/embed\/UlJQmX-H9uc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>Below is an example of a drawing done with this interactive piece. As you can probably tell, it is very difficult to create smooth lines when working with another person, but that&#8217;s what makes it fun! It&#8217;s a bit of a silly challenge and it takes a while to get the hang of it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"607\" src=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/image-1-1024x607.png\" alt=\"\" class=\"wp-image-1882\" srcset=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/image-1-1024x607.png 1024w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/image-1-800x475.png 800w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/image-1-768x456.png 768w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/image-1-506x300.png 506w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/image-1.png 1416w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Shown below is the actual hardware component. The touch potentiometer on the left detects vertical movement, while the touch potentiometer on the right is for horizontal movement. All wiring is hidden inside the box. I wanted to use a physical button to reset the screen instead of the space key, but I had difficulties for awhile with handling multiple sensor inputs in Unity. Thus, I decided to use the space key instead so that I did not have to worry about more sensor inputs. I cannot show the wiring configuration because I sealed it all in the box before taking a picture, but it is just the Arduino with two sensors attached. In order to make them farther apart, one potentiometer has longer wires soldered to it. The breadboard is sideways inside the box so that the sensors can lay flat.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/scontent-iad3-2.xx.fbcdn.net\/v\/t1.15752-9\/s2048x2048\/244768993_1592717517726808_5479563658318990008_n.jpg?_nc_cat=100&amp;ccb=1-5&amp;_nc_sid=ae9488&amp;_nc_ohc=hqkv_h8pwVsAX9j-S12&amp;_nc_ht=scontent-iad3-2.xx&amp;oh=6d4b725efd1eeccddf995c2e3cc50179&amp;oe=6187DE1B\" alt=\"No description available.\" \/><\/figure>\n\n\n\n<p>The biggest challenge of this project was definitely working with multiple sensor readings in Unity. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"479\" height=\"192\" src=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/image-2.png\" alt=\"\" class=\"wp-image-1884\" \/><\/a><\/figure>\n\n\n\n<p>This was my Arduino code. When shown in the Arduino Serial Monitor, it was working fine to show both readings with a space between, but when reading Serial in Unity, it would have inconsistencies where it was not getting both numbers (sometimes only getting the first and sometimes only the second). After some research, I realized that the read operation was timing out before both sensor readings were obtained, so I had to increase the milliseconds before serial port read time-outs occurred in Unity.<\/p>\n\n\n\n<p>Art-wise, I definitely feel like I focused less on the aesthetic presentation because the actual interaction was more core to me. If I were to update this piece, I would definitely change the box that the sensors are on to better match the theme and look more visually pleasing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this project, the two people interacting each get one sensor to touch &#8212; one representing vertical and one representing horizontal movement on the screen. The screen displays the lines drawn by the users as well as a stencil they can try to trace. Pressing the spacebar on the keyboard removes all drawn lines and&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/jlduerk\/final-project\/\">Read More<\/a><\/div>\n","protected":false},"author":144,"featured_media":1883,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1881","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-final-project"],"jetpack_featured_media_url":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/10\/244479869_1279274749189111_8217875423317957901_n-2.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/posts\/1881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/users\/144"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/comments?post=1881"}],"version-history":[{"count":1,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/posts\/1881\/revisions"}],"predecessor-version":[{"id":1885,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/posts\/1881\/revisions\/1885"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/media\/1883"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/media?parent=1881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/categories?post=1881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/tags?post=1881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}