{"id":4275,"date":"2020-09-01T23:18:51","date_gmt":"2020-09-02T03:18:51","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/?p=4275"},"modified":"2020-09-01T23:18:51","modified_gmt":"2020-09-02T03:18:51","slug":"mokka-where-the-mouse-travels","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/mjchangandrew-cmu-edu\/09\/01\/mokka-where-the-mouse-travels\/","title":{"rendered":"mokka &#8211; where the mouse travels"},"content":{"rendered":"<p><a href=\"https:\/\/editor.p5js.org\/mokka\/sketches\/R8WlDO5mR\">mokka &#8211; where the mouse travels<\/a><\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_4297\" aria-describedby=\"caption-attachment-4297\" style=\"width: 336px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"wp-image-4297\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-9.59.45-PM-478x480.png\" alt=\"\" width=\"336\" height=\"337\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-9.59.45-PM-478x480.png 478w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-9.59.45-PM-150x150.png 150w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-9.59.45-PM.png 550w\" sizes=\"(max-width: 336px) 85vw, 336px\" \/><figcaption id=\"caption-attachment-4297\" class=\"wp-caption-text\">yellow is where the mouse traveled, where you started is marked on the top left<\/figcaption><\/figure>\n<p><img loading=\"lazy\" class=\"wp-image-4299 aligncenter\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-10.00.18-PM-480x480.png\" alt=\"\" width=\"324\" height=\"324\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-10.00.18-PM-480x480.png 480w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-10.00.18-PM-150x150.png 150w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-10.00.18-PM.png 550w\" sizes=\"(max-width: 324px) 85vw, 324px\" \/> <img loading=\"lazy\" class=\"wp-image-4298 aligncenter\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-10.00.05-PM-483x480.png\" alt=\"\" width=\"326\" height=\"324\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-10.00.05-PM-483x480.png 483w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-10.00.05-PM-150x150.png 150w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-10.00.05-PM.png 550w\" sizes=\"(max-width: 326px) 85vw, 326px\" \/> <img loading=\"lazy\" class=\"wp-image-4296 aligncenter\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-9.58.59-PM-480x480.png\" alt=\"\" width=\"334\" height=\"334\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-9.58.59-PM-480x480.png 480w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-9.58.59-PM-150x150.png 150w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/Screen-Shot-2020-09-01-at-9.58.59-PM.png 550w\" sizes=\"(max-width: 334px) 85vw, 334px\" \/><\/p>\n<p><strong>About my territory: <\/strong>As a kid, I remembered how my parents would always print out a google map sheet for GPS. I utilized that map to manifest my own imaginary world. There were plenty of red, orange, and green dots scattered across each map and I imagined treasures or places worth exploring.<\/p>\n<p><strong>Process: <\/strong>Thus, I made treasure maps for this assignment! I wanted to keep an almost child-like quality to it as I wanted to reminisce about my imagination when I was much younger. I utilized nested loops and played around with the placement of shapes to illustrate a simple landscape and kind of natural-looking dynamic utilizing randomness. I also tried providing information for the user indicating where they start once the canvas is open so that when they &#8220;get lost&#8221; they will at least know their starting point. This starting point is indicated in the top left corner where both the longitude and latitude are recorded once they start moving their mouse. I did this by abling the code to indicate where the mouse is on the canvas at all times. Also, the user&#8217;s mouse would leave a trace of its movements utilizing an ellipse that is constantly being drawn. I incorporated this because it resembles how I would immerse myself by using a pen and tracing how I would explore the world that I had in my hand. Once the user clicks the mouse a new starting point is recorded and the treasure items\/areas are reset in a random, new area of the map giving the user a whole other map to explore. Due to the number of shapes I had to make, I also created my own functions to make my code a little cleaner for my own sanity.<\/p>\n<p><a href=\"https:\/\/giphy.com\/gifs\/VJC4cvagdO7h7Pl9di\">via GIPHY<img loading=\"lazy\" class=\"alignnone size-full wp-image-4323\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ezgif.com-optimize-1.gif\" alt=\"\" width=\"540\" height=\"540\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>mokka &#8211; where the mouse travels &nbsp; About my territory: As a kid, I remembered how my parents would always print out a google map sheet for GPS. I utilized that map to manifest my own imaginary world. There were plenty of red, orange, and green dots scattered across each map and I imagined treasures &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/mjchangandrew-cmu-edu\/09\/01\/mokka-where-the-mouse-travels\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;mokka &#8211; where the mouse travels&#8221;<\/span><\/a><\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[41],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/posts\/4275"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/comments?post=4275"}],"version-history":[{"count":4,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/posts\/4275\/revisions"}],"predecessor-version":[{"id":4326,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/posts\/4275\/revisions\/4326"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/media?parent=4275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/categories?post=4275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/tags?post=4275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}