{"id":12263,"date":"2022-10-14T17:20:12","date_gmt":"2022-10-14T21:20:12","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/?p=12263"},"modified":"2023-06-06T10:10:13","modified_gmt":"2023-06-06T14:10:13","slug":"gates-rausch-documentation","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/gates-rausch-documentation\/","title":{"rendered":"GATES Rausch Documentation"},"content":{"rendered":"<h2>AMOR FATI<\/h2>\n<p>By Cassie Rausch<\/p>\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/1AyZ2ms2KK6hS8zTaKMH14hs_g_gmx_ic\/view?usp=sharing\"><img loading=\"lazy\" class=\"alignnone wp-image-12272 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.14.16-PM.png\" alt=\"\" width=\"2120\" height=\"1186\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.14.16-PM.png 2120w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.14.16-PM-300x168.png 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.14.16-PM-1024x573.png 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.14.16-PM-768x430.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.14.16-PM-1536x859.png 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.14.16-PM-2048x1146.png 2048w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.14.16-PM-973x544.png 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.14.16-PM-508x284.png 508w\" sizes=\"(max-width: 2120px) 100vw, 2120px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/drive.google.com\/file\/d\/1fHTQH0crgZtKO_PofeGOIGXsTvqMlQ5P\/view?usp=sharing\"><img loading=\"lazy\" class=\"alignnone wp-image-12264 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346.png\" alt=\"\" width=\"1200\" height=\"900\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346.png 1200w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-300x225.png 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-1024x768.png 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-768x576.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-973x730.png 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-508x381.png 508w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/p>\n<p>(click images above for videos)<\/p>\n<h2>NARRATIVE DESCRIPTION:<\/h2>\n<p>This desktop philosophical experience is intended to be placed discretely somewhere in CMU with high foot traffic.<\/p>\n<p>After sitting down, you answer each question as it appears on the screen. The &#8216;y&#8217; key means yes and the &#8216;n key means no. All of the questions are modeled after decisions that a CMU student might make on a normal day, some a bit more dramatic than others. After you answer all of the questions, you will get a receipt printed with some of the positive and negative consequences of the choices you made.<\/p>\n<h2>PROGRESS IMAGES:<\/h2>\n<div id=\"attachment_12271\" style=\"width: 1554px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-12271\" loading=\"lazy\" class=\"wp-image-12271 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.37-PM.png\" alt=\"\" width=\"1544\" height=\"1158\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.37-PM.png 1544w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.37-PM-300x225.png 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.37-PM-1024x768.png 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.37-PM-768x576.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.37-PM-1536x1152.png 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.37-PM-973x730.png 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.37-PM-508x381.png 508w\" sizes=\"(max-width: 1544px) 100vw, 1544px\" \/><p id=\"caption-attachment-12271\" class=\"wp-caption-text\">I started my process by working with Zach to learn how to control the receipt printer and how to use Processing.<\/p><\/div>\n<p>&nbsp;<\/p>\n<div id=\"attachment_12270\" style=\"width: 878px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-12270\" loading=\"lazy\" class=\"wp-image-12270 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.15-PM.png\" alt=\"\" width=\"868\" height=\"1168\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.15-PM.png 868w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.15-PM-223x300.png 223w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.15-PM-761x1024.png 761w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.15-PM-768x1033.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.15-PM-508x684.png 508w\" sizes=\"(max-width: 868px) 100vw, 868px\" \/><p id=\"caption-attachment-12270\" class=\"wp-caption-text\">Some of the text that we generated to test the code\/printer. It says mouse repeatedly because I spammed the mouse click.<\/p><\/div>\n<div id=\"attachment_12269\" style=\"width: 880px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-12269\" loading=\"lazy\" class=\"wp-image-12269 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.00-PM.png\" alt=\"\" width=\"870\" height=\"1150\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.00-PM.png 870w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.00-PM-227x300.png 227w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.00-PM-775x1024.png 775w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.00-PM-768x1015.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.10.00-PM-508x671.png 508w\" sizes=\"(max-width: 870px) 100vw, 870px\" \/><p id=\"caption-attachment-12269\" class=\"wp-caption-text\">More messing with printing text. Most of this was from my attempts to make a keypress result in text printing.<\/p><\/div>\n<div id=\"attachment_12267\" style=\"width: 1578px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-12267\" loading=\"lazy\" class=\"wp-image-12267 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.29-PM.png\" alt=\"\" width=\"1568\" height=\"1162\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.29-PM.png 1568w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.29-PM-300x222.png 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.29-PM-1024x759.png 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.29-PM-768x569.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.29-PM-1536x1138.png 1536w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.29-PM-973x721.png 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.29-PM-508x376.png 508w\" sizes=\"(max-width: 1568px) 100vw, 1568px\" \/><p id=\"caption-attachment-12267\" class=\"wp-caption-text\">I spent much of my time surrounded by receipts. It took a while to format the text to print well.<\/p><\/div>\n<div id=\"attachment_12266\" style=\"width: 870px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-12266\" loading=\"lazy\" class=\"wp-image-12266 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.10-PM.png\" alt=\"\" width=\"860\" height=\"976\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.10-PM.png 860w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.10-PM-264x300.png 264w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.10-PM-768x872.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.09.10-PM-508x577.png 508w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><p id=\"caption-attachment-12266\" class=\"wp-caption-text\">This is when I was trying to figure out why it printed some responses but not others.<\/p><\/div>\n<div id=\"attachment_12265\" style=\"width: 1186px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-12265\" loading=\"lazy\" class=\"wp-image-12265 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.52-PM-e1665779022284.png\" alt=\"\" width=\"1176\" height=\"846\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.52-PM-e1665779022284.png 1176w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.52-PM-e1665779022284-300x216.png 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.52-PM-e1665779022284-1024x737.png 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.52-PM-e1665779022284-768x552.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.52-PM-e1665779022284-508x365.png 508w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.52-PM-e1665779022284-973x700.png 973w\" sizes=\"(max-width: 1176px) 100vw, 1176px\" \/><p id=\"caption-attachment-12265\" class=\"wp-caption-text\">A spread of some of my first successful runs! I started by making all of the yes responses print properly then the no responses.<\/p><\/div>\n<div id=\"attachment_12264\" style=\"width: 1210px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-12264\" loading=\"lazy\" class=\"wp-image-12264 size-full\" src=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346.png\" alt=\"\" width=\"1200\" height=\"900\" srcset=\"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346.png 1200w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-300x225.png 300w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-1024x768.png 1024w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-768x576.png 768w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-973x730.png 973w, https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-content\/uploads\/2022\/10\/Screen-Shot-2022-10-14-at-4.08.35-PM-e1665778347346-508x381.png 508w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><p id=\"caption-attachment-12264\" class=\"wp-caption-text\">Running my project through another monitor to see how it would display.<\/p><\/div>\n<h2>PROCESS REFLECTION:<\/h2>\n<p>This project was a success in my opinion, because my main goal was to learn more about philosophy and Processing. Taking a philosophy that is new to me and trying to convey it through an experience for a stranger to understand that philosophy was harder than I imagined. If I were to redo this project, I would have spent much more time debugging my code and considering the experience of my project and less studying philosophy. Experience design is not something new to me, but this was my first attempt at an experiential art piece. Something I learned was how much more you are trying to influence the users emotions and thoughts and less so the actions like I typically do in my products.<\/p>\n<p>Processing was vaguely familiar to me from a basic high school course I took in java, but I learned so much from this project and re-familiarized myself with this coding language. Zach was a huge help in clarifying basic concepts for me again, and even more so in making the more complex parts of my code work. I learned a lot about strings and how finicky they can be, and how to connect processing to Arduino. The receipt printer was also new for me to use, but I&#8217;d love to work with it more in the future. The idea of walking away from a digital experience with something physical is important to me, because it crosses the boundary from being a thought experiment to something that users will hold onto.<\/p>\n<h2>CODE:<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"java\">\/\/AMOR FATI\r\n\/\/by Cassie Rausch\r\n\/\/this code is designed to recieve input from a user as a key press of either 'y' or 'n'\r\n\/\/in response to a displayed question and then compile correlating responses \r\n\/\/to this input and print a receipt with the responses generated\r\n\r\n\r\nint qcounter = 0; \/\/counter that tracks the question you are on\r\n\r\nString []  receipt = {\" \", \" \", \" \", \" \", \" \", \" \", \" \", \" \", \" \", \" \"}; \/\/string that holds all of the responses to be printed\r\n\r\nchar results[] = {' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '}; \/\/string that holds all of the users input\r\n\r\nString [] question = {\r\n  \"Your alarm goes off, but you're so tired. Do you snooze? Y\/N\", \r\n  \"You're still so groggy. Do you get coffee? Y\/N\", \r\n  \"You have a midterm in an hour. Do you study? Y\/N\", \r\n  \"You haven't talked to your mom in over a week. Do you call her? Y\/N\", \r\n  \"You decide on Thai for dinner. Do you order delivery? Y\/N\", \r\n  \"As you walk home you pass someone homeless, begging for money. Do you help them? Y\/N\", \r\n  \"A startup has reached out to you with a dream job offer, but they insist that you drop out of CMU first. Do you do it? Y\/N\", \r\n  \"You are up late working on a project for a class, but all you want to do is sleep. Do you stay awake to finish it? Y\/N\", \r\n  \"You catch your partner cheating, but they swear they'll change. Do you give them a second chance? Y\/N\", \r\n  \"Would you make the same decisions again?\", \r\n};\r\n\r\nString [] nanswers = {\r\n  \"You wake up and make it to class on time,\\nbut fall back asleep during lecture.\\n\\n\", \r\n  \"\\nYou're so tired you don't take any\\nnotes in class and fail the next quiz.\\n\\n\", \r\n  \"\\nYou get a lower grade on your test,\\nbut spent time outside relaxing.\\n\\n\", \r\n  \"\\nYou are grateful for the free time and\\ntake a nap, but miss your moms call.\\n\\n\", \r\n  \"\\nYou have to walk in the cold to pick up\\nyour dinner, but avoid delivery fees\\n\\n\", \r\n  \"\\nThe homeless person struggles\\nto find food and becomes ill. You stay\\nsafe and keep your money.\\n\\n\", \r\n  \"\\nYou graduate CMU and work at Meta.\\nIt's fine.\\n\\n\", \r\n  \"\\nYou get a lovely night of sleep, but\\ncome to class with an unfinished project.\\n\\n\", \r\n  \"\\nYou watch the person you were in love with\\nleave you for someone else.\\nYou are alone, but happy.\\n\\n\\n\\n\\n\\n\", \r\n  \"\\n\\nAMOR FATI  \\n\\n\\n\\n\"\r\n};\r\n\r\nString [] yanswers = {\r\n  \"You wake up late feeling less tired,\\nbut you slept through your class.\\r\\n\", \r\n  \"\\n\\nYou contribute to the mass\\ndeforestation for coffee farming.\\r\\n\", \r\n  \"\\n\\nYou get a higher grade on your test,\\nbut missed a beautiful day.\\r\\n\", \r\n  \"\\n\\nYou enjoy talking to your mom,\\nbut she talks forever.\\r\\n\", \r\n  \"\\n\\nDelivery very expensive,\\nbut you enjoy the warm food.\\r\\n\", \r\n  \"\\n\\nYou give the homeless person money,\\nbut they quickly spend it.\\r\\n\", \r\n  \"\\n\\nYou love working your dream job\\nuntil the startup fails.\\r\\n\", \r\n  \"\\n\\nYou stay up all night,\\nbut feel awful all day\\r\\n\", \r\n  \"\\n\\nYour partner continues to cheat,\\nbut for a bit you're happy again.\\r\\n\\n\\n\", \r\n  \"\\n\\nAMOR FATI   \\n\\n\\n\\n\"\r\n};\r\n\r\nimport processing.serial.*;\r\n\r\nSerial myPort;  \/\/ Create object from Serial class\r\nint val;        \/\/ Data received from the serial port\r\n\r\n\r\nvoid setup() {\r\n\r\n  size(1300, 700);\r\n  println(Serial.list());\r\n  String portName = Serial.list()[1];\r\n  myPort = new Serial(this, portName, 9600);\r\n}\r\n\r\nvoid draw() { \/\/ drawing background and text\r\n  background (240, 130, 0);\r\n  textSize(25);\r\n  rectMode (CENTER);\r\n  textAlign(CENTER, CENTER);\r\n  String printresults = new String(results);\r\n  if (qcounter == 10) {\r\n    delay (1000);\r\n    receiptbuilder ();\r\n    delay (5000);\r\n    qcounter = 0;\r\n  }\r\n  \/\/ text(printresults, 10, 10);\r\n  \/\/ text(qcounter, 10, 20);\r\n  if (qcounter &lt; 10) text(question[qcounter], width\/2, height\/2, 500, 300);\r\n}\r\n\r\nvoid keyPressed () { \r\n  if (qcounter &lt; 10) {\r\n    if (key == 'y') {\r\n      results[qcounter] = 'y';\r\n      qcounter++;\r\n    }\r\n    if (key == 'n') {\r\n      results[qcounter] = 'n';\r\n      qcounter++;\r\n    }\r\n  }\r\n}\r\n\r\nvoid  receiptbuilder () {  \/\/ function to build all of the responses to be printed based on user input\r\n  for (int counter = 0; counter &lt; 10; counter++) {\r\n    if (results[counter] == 'y') {\r\n      receipt[counter] = yanswers[counter];\r\n    } else if (results[counter] == 'n') {\r\n      receipt[counter] = nanswers[counter];\r\n    }\r\n  } \r\n  myPort.write(receipt[0]);\r\n  delay (2000);\r\n  myPort.write(receipt[1]);\r\n  delay (2000);\r\n  myPort.write(receipt[2]);\r\n  delay (2000);\r\n  myPort.write(receipt[3]);\r\n  delay (2000);\r\n  myPort.write(receipt[4]);\r\n  delay (2000);\r\n  myPort.write(receipt[5]);\r\n  delay (2000);\r\n  myPort.write(receipt[6]);\r\n  delay (2000);\r\n  myPort.write(receipt[7]);\r\n  delay (2000);\r\n  myPort.write(receipt[8]);\r\n  delay (2000);\r\n  myPort.write(receipt[9]);\r\n}\r\n\r\nvoid serialEvent (Serial p) {\r\n  String inString = p.readString();\r\n  \/\/ println (inString);\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>AMOR FATI By Cassie Rausch (click images above for videos) NARRATIVE DESCRIPTION: This desktop philosophical experience is intended to be placed discretely somewhere in CMU with high foot&#8230;<\/p>\n","protected":false},"author":136,"featured_media":12272,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[185],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/posts\/12263"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/users\/136"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/comments?post=12263"}],"version-history":[{"count":2,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/posts\/12263\/revisions"}],"predecessor-version":[{"id":12368,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/posts\/12263\/revisions\/12368"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/media\/12272"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/media?parent=12263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/categories?post=12263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/62-362\/f2022\/wp-json\/wp\/v2\/tags?post=12263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}