{"id":65000,"date":"2021-09-07T14:01:29","date_gmt":"2021-09-07T18:01:29","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/?p=65000"},"modified":"2021-09-12T19:27:03","modified_gmt":"2021-09-12T23:27:03","slug":"project-1-my-self-portrait-11","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/2021\/09\/07\/project-1-my-self-portrait-11\/","title":{"rendered":"Project 1: My Self Portrait"},"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 href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-content\/uploads\/2021\/09\/sketch-29.js\">sketch<\/a><a class=\"p5_sketch_link\" data-width=\"500\" data-height=\"600\" href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-content\/uploads\/2021\/09\/sketch-29.js\" 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=\"500\" height=\"600\"><\/iframe><pre class=\"language-javascript\"><code class=\"p5_editor language-javascript\">function setup() {\n    createCanvas(500, 600);\n    background(216,191,216);\n}\n\nfunction draw() {\n\n    strokeWeight(0);\n    fill(51,0,0);\n    ellipse(250,219,233,165);\n\n    strokeWeight(0);\n    fill(51,0,0);\n    rect(133,213,233,273);\n\n    strokeWeight(0);\n    fill(210,180,140);\n    rect(208,375,84,45);\n\n    strokeWeight(0);\n    fill(210,180,140);\n    ellipse(251,465,280,110); \/\/shoulders\n\n    strokeWeight(0);\n    fill(210,180,140);\n    rect(112,465,280,144);\n\n    strokeWeight(0);\n    fill(222,184,135);\n    ellipse(250,285,188,226); \/\/face\n\n    strokeWeight(0);\n    fill(0);\n    rect(155,422,10,72)\n\n    strokeWeight(0);\n    fill(0);\n    rect(334,422,10,72)\n\n    strokeWeight(0);\n    fill(0);\n    rect(153,475,194,125)\n\n    strokeWeight(0);\n    fill(128,0,0);\n    ellipse(251,340,83,43);\n\n    strokeWeight(0);\n    fill(222,184,135);\n    ellipse(251,325,95,30);\n\n    strokeWeight(0);\n    fill(0);\n    ellipse(209,270,28,28);\n\n    strokeWeight(0);\n    fill(0);\n    ellipse(292,270,28,28);\n\n    strokeWeight(0);\n    fill(222,184,135);\n    ellipse(209,280,24,29);\n\n    strokeWeight(0);\n    fill(222,184,135);\n    ellipse(292,280,24,29);\n\n    strokeWeight(0);\n    fill(205,133,63);\n    ellipse(250,310,32,22);\n\n    strokeWeight(0);\n    fill(222,184,135);\n    ellipse(250,305,32,22);\n\n    strokeWeight(0);\n    fill(245,222,179);\n    ellipse(250,301,29,22);\n\n}\n<\/code><\/pre><\/div>\n\n\n\n<p>The most challenging part of this project was having to do a lot of trial and error because I had to keep reopening the index.html file to see whether or not my illustration was coming out correctly.<\/p><\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>sketchDownload function setup() { createCanvas(500, 600); background(216,191,216); } function draw() { strokeWeight(0); fill(51,0,0); ellipse(250,219,233,165); strokeWeight(0); fill(51,0,0); rect(133,213,233,273); strokeWeight(0); fill(210,180,140); rect(208,375,84,45); strokeWeight(0); fill(210,180,140); ellipse(251,465,280,110); \/\/shoulders strokeWeight(0); fill(210,180,140); rect(112,465,280,144); strokeWeight(0); fill(222,184,135); ellipse(250,285,188,226); \/\/face strokeWeight(0); fill(0); rect(155,422,10,72) strokeWeight(0); fill(0); rect(334,422,10,72) strokeWeight(0); fill(0); rect(153,475,194,125) strokeWeight(0); fill(128,0,0); ellipse(251,340,83,43); strokeWeight(0); fill(222,184,135); ellipse(251,325,95,30); strokeWeight(0); fill(0); ellipse(209,270,28,28); strokeWeight(0); fill(0); ellipse(292,270,28,28); strokeWeight(0); fill(222,184,135); ellipse(209,280,24,29); &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/2021\/09\/07\/project-1-my-self-portrait-11\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Project 1: My Self Portrait&#8221;<\/span><\/a><\/p>\n","protected":false},"author":639,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,57],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/65000"}],"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\/639"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/comments?post=65000"}],"version-history":[{"count":2,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/65000\/revisions"}],"predecessor-version":[{"id":65033,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/65000\/revisions\/65033"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/media?parent=65000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/categories?post=65000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/tags?post=65000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}