{"id":67310,"date":"2021-10-09T23:38:48","date_gmt":"2021-10-10T03:38:48","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/?p=67310"},"modified":"2021-10-09T23:38:48","modified_gmt":"2021-10-10T03:38:48","slug":"project-06","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/2021\/10\/09\/project-06\/","title":{"rendered":"Project-06"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><div class=\"wp-block-file\"><a class=\"p5_sketch_link\" href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-content\/uploads\/2021\/10\/sketch-50.js\">sketch<\/a><a href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-content\/uploads\/2021\/10\/sketch-50.js\" class=\"wp-block-file__button\" download=\"\">Download<\/a><iframe src=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-content\/plugins\/p5-embedder\/p5_iframe.html\" class=\"p5_exampleFrame\" width=\"\" height=\"\"><\/iframe><pre class=\"language-javascript\"><code class=\"p5_editor language-javascript\">\/* Nami Numoto\n * Section A\n * mnumoto@andrew.cmu.edu\n * Project 06 - Abstract Clock\n *\/\n\nvar x = [];\nvar y = [];\nvar s = 25;\nvar side = 10\n\nvar s;\nvar m;\nvar h;\n\n\/\/160, 160, 160\nfunction setup() {\n    createCanvas(480, 480);\n    rectMode(CENTER);\n    frameRate(1);\n    stroke(\"white\");\n}\n\nfunction circles(x, y) {\n    fill(3,122,118); \/\/squid game green\n    ellipse(x, y, 10);\n}\n\nfunction triangles(x, y) {\n    fill(237, 27, 118); \/\/squid game pink\n    triangle(x - side \/ 2, y - side * sqrt(3) \/ 2, x - side, y - 0, x - 0, y - 0);\n}\n\nfunction squares(x, y) {\n    fill(255);\n    rect(x, y, 30, 30);\n}\n\nfunction draw() {\n    clear();\n    background(0); \/\/black background\n    s = second();\n    m = minute();\n    h = hour();\n    for (i = 0; i &lt; h; i++) { \/\/ draw same # of shapes as hrs, mins, sec\n        x[i] = random(10, 150);\n        y[i] = random(10, 470);\n        squares(x[i], y[i]);\n    }\n    for (j = 0; j &lt; m; j++) {\n        x[j] = random(170, 330);\n        y[j] = random(10, 470);\n        triangles(x[j], y[j]);\n    }\n    for (k = 0; k &lt; s; k++) {\n        x[k] = random(340, 470);\n        y[k] = random(10, 470);\n        circles(x[k], y[k]);\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p>I made a clock inspired by the Netflix show &ldquo;Squid Game&rdquo; &ndash; I used the colour palette of the outfits they wear as well as the shapes that represent ranks of the people running the game.<\/p>\n\n\n\n<p>No spoilers \ud83d\ude42<\/p>\n\n\n\n<p>The circles (lowest rank symbol) represent seconds, triangles (soldiers) minutes, and squares (managers) hours.<\/p>\n\n\n\n<p>I decided to make all of the shapes move at random within certain bounds to indicate controlled chaos, which pretty much sums up the dystopian narrative of Squid Game.<\/p>\n\n\n\n<p>I haven&rsquo;t watched it all yet, so PLEASE DON&rsquo;T TELL ME ANYTHING ABOUT IT YALL<\/p><\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>sketchDownload \/* Nami Numoto * Section A * mnumoto@andrew.cmu.edu * Project 06 &#8211; Abstract Clock *\/ var x = []; var y = []; var s = 25; var side = 10 var s; var m; var h; \/\/160, 160, 160 function setup() { createCanvas(480, 480); rectMode(CENTER); frameRate(1); stroke(&#8220;white&#8221;); } function circles(x, y) { fill(3,122,118); &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/2021\/10\/09\/project-06\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Project-06&#8221;<\/span><\/a><\/p>\n","protected":false},"author":663,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[106,55],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/67310"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/users\/663"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/comments?post=67310"}],"version-history":[{"count":1,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/67310\/revisions"}],"predecessor-version":[{"id":67317,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/67310\/revisions\/67317"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/media?parent=67310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/categories?post=67310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/tags?post=67310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}