{"id":4352,"date":"2020-09-02T02:02:49","date_gmt":"2020-09-02T06:02:49","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/?p=4352"},"modified":"2020-09-02T02:07:24","modified_gmt":"2020-09-02T06:07:24","slug":"pinkkk-map","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/xinrantandrew-cmu-edu\/09\/02\/pinkkk-map\/","title":{"rendered":"Pinkkk-Map"},"content":{"rendered":"<p><em>Generating in Action<\/em><\/p>\n<p><img loading=\"lazy\" class=\"size-medium aligncenter cc_cursor\" src=\"https:\/\/miro.medium.com\/max\/1200\/1*KA2sfmm0gwmnQrQQAbfIig.gif\" width=\"600\" height=\"602\" \/><\/p>\n<p><em>Selected ScreenShots<\/em><\/p>\n<p><img loading=\"lazy\" class=\"size-medium wp-image-4353 cc_cursor aligncenter\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss1-479x480.png\" alt=\"\" width=\"479\" height=\"480\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss1-479x480.png 479w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss1-1021x1024.png 1021w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss1-150x150.png 150w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss1-768x770.png 768w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss1-1200x1203.png 1200w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss1.png 1396w\" sizes=\"(max-width: 479px) 85vw, 479px\" \/> <img loading=\"lazy\" class=\"size-medium wp-image-4354 cc_cursor aligncenter\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss2-481x480.png\" alt=\"\" width=\"481\" height=\"480\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss2-481x480.png 481w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss2-1024x1024.png 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss2-150x150.png 150w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss2-768x767.png 768w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss2-1200x1198.png 1200w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss2.png 1396w\" sizes=\"(max-width: 481px) 85vw, 481px\" \/> <img loading=\"lazy\" class=\"size-medium wp-image-4355 cc_cursor aligncenter\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss3-479x480.png\" alt=\"\" width=\"479\" height=\"480\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss3-479x480.png 479w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss3-1024x1024.png 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss3-150x150.png 150w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss3-768x769.png 768w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss3-1200x1202.png 1200w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss3.png 1392w\" sizes=\"(max-width: 479px) 85vw, 479px\" \/> <img loading=\"lazy\" class=\"cc_cursor aligncenter wp-image-4356 size-medium\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss4-e1599025260604-478x480.png\" alt=\"\" width=\"478\" height=\"480\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss4-e1599025260604-478x480.png 478w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss4-e1599025260604-1019x1024.png 1019w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss4-e1599025260604-150x150.png 150w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss4-e1599025260604-768x772.png 768w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss4-e1599025260604-1200x1206.png 1200w, https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-content\/uploads\/2020\/09\/ss4-e1599025260604.png 1386w\" sizes=\"(max-width: 478px) 85vw, 478px\" \/><\/p>\n<p><em><strong>Brief Paragraph About the Territory<\/strong><\/em><\/p>\n<blockquote><p>My imaginary place is how I currently perceive myself. It is dominated by contrasting colors, ambiguous shapes, and undefined labels. Around the blended vibrant colors, there exist rigid lines holding back the circles that are on the edge of merging with the unknown.<\/p><\/blockquote>\n<p><em><strong>Technical Process<\/strong><\/em><\/p>\n<p>From the beginning, I wanted to experiment with cartography, especially with the placement of labels. Therefore I focused the majority of my time on generating arbitrary terrains and orienting letters around it.<\/p>\n<p>For my terrain generation, I utilized the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Marching_squares\" target=\"_blank\" rel=\"noopener noreferrer\">Marching Squares <\/a>algorithm to generate arbitrary sections with weighted vectors.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium\" src=\"https:\/\/miro.medium.com\/max\/1230\/1*0_iQOpakUgSbkYU96alE2Q.png\" width=\"615\" height=\"614\" \/><\/p>\n<p><em>Problem 1: Orienting Text on a line\u00a0<\/em><\/p>\n<p>To orient the text, I took the dot product of the vectors and centered the text on the first vertex.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium\" src=\"https:\/\/miro.medium.com\/max\/1400\/1*PoHVkdZgaDGa10I-vreHkw.png\" width=\"1400\" height=\"1337\" \/><\/p>\n<p><em>Problem 2: Collisions<\/em><\/p>\n<p>The labels like the collide, and even when they are single-letters (used longer letters to demonstrate the problem). I approached the problem from two perspectives: controlling the number of labels on the map and detecting dark pixels on the screen. Both of the methods have their challenges such as hardcoding values and layering of visual elements. To be fair, I am not confident that they completely do not collide at all, and it would be an interesting problem to solve if I continue the project in the future.<\/p>\n<p><a href=\"https:\/\/editor.p5js.org\/miatang13\/sketches\/L-FrETNMp\" target=\"_blank\" rel=\"noopener noreferrer\">CODE<\/a><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium\" src=\"https:\/\/miro.medium.com\/max\/1400\/1*q6YvvRgZh8rw6xWHGo-pRQ.png\" width=\"1366\" height=\"768\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Generating in Action Selected ScreenShots Brief Paragraph About the Territory My imaginary place is how I currently perceive myself. It is dominated by contrasting colors, ambiguous shapes, and undefined labels. Around the blended vibrant colors, there exist rigid lines holding back the circles that are on the edge of merging with the unknown. Technical Process &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/xinrantandrew-cmu-edu\/09\/02\/pinkkk-map\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Pinkkk-Map&#8221;<\/span><\/a><\/p>\n","protected":false},"author":53,"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\/4352"}],"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\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/comments?post=4352"}],"version-history":[{"count":4,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/posts\/4352\/revisions"}],"predecessor-version":[{"id":4383,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/posts\/4352\/revisions\/4383"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/media?parent=4352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/categories?post=4352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/f2020\/wp-json\/wp\/v2\/tags?post=4352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}