{"id":73697,"date":"2022-10-02T19:39:08","date_gmt":"2022-10-02T23:39:08","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/?p=73697"},"modified":"2022-10-02T19:39:08","modified_gmt":"2022-10-02T23:39:08","slug":"sydneycha-project-05-wallpaper","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/2022\/10\/02\/sydneycha-project-05-wallpaper\/","title":{"rendered":"SydneyCha-Project-05-Wallpaper"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><p>For this project, I wanted to create a comical wallpaper with bright colors. Here is the finished result.<\/p>\n\n\n\n<div class=\"wp-block-file\"><a class=\"p5_sketch_link\" data-width=\"600\" data-height=\"600\" id=\"wp-block-file--media-87614b3e-2f98-47d6-80f8-2d9d48351c3f\" href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-content\/uploads\/2022\/10\/sketch-43.js\">sketch<\/a><iframe src=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-content\/plugins\/p5-embedder\/p5_iframe.html\" class=\"p5_exampleFrame\" width=\"600\" height=\"600\"><\/iframe><pre class=\"language-javascript\"><code class=\"p5_editor language-javascript\">\/\/Sydney Cha\n\/\/Section D\n \nfunction setup(){\n    createCanvas(600, 600);\n    background(255);\n    noStroke(); \n}\n\nfunction draw() {\n    background(0, 150, 150);\n    drawGrid();\n    noLoop();\n}\n\nfunction drawGrid() {\n    var red = 90;\n    var blue = 90;\n    for (var y = 0; y &lt; height + 40; y += 40) {\n        blue = 10;\n        for (var x = 0; x &lt; width + 30; x += 30) {\n            fill(red, 0, blue);\n            arc(x, y, 30, 80, 0, PI);\n            fill(200, 200, 0);\n            rect(x, y, 20, 20);\n            rect(x-15, y+10, 10, 20);\n            blue += 10;\n        }\n        red += 10;\n    }\n}<\/code><\/pre><\/div><\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>For this project, I wanted to create a comical wallpaper with bright colors. Here is the finished result.<\/p>\n","protected":false},"author":707,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[104,58],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/posts\/73697"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/users\/707"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/comments?post=73697"}],"version-history":[{"count":2,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/posts\/73697\/revisions"}],"predecessor-version":[{"id":73700,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/posts\/73697\/revisions\/73700"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/media?parent=73697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/categories?post=73697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/tags?post=73697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}