{"id":65028,"date":"2021-09-07T14:05:48","date_gmt":"2021-09-07T18:05:48","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/?p=65028"},"modified":"2021-09-07T14:05:48","modified_gmt":"2021-09-07T18:05:48","slug":"project-1-my-self-portrait-12","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/2021\/09\/07\/project-1-my-self-portrait-12\/","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 class=\"p5_sketch_link\" data-width=\"500\" data-height=\"400\" href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-content\/uploads\/2021\/09\/sketch-35.js\">sketch<\/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=\"400\"><\/iframe><pre class=\"language-javascript\"><code class=\"p5_editor language-javascript\">function setup() {\n    createCanvas(500, 400);\n    background(0);\n}\n\nfunction draw() {\n    noStroke();\n    fill(255);\n    ellipse(250,210,210,280);\n    fill(252,192,210);\n    ellipse(250,200,180,220);\n    rect(225, 300, 50, 40);\n    arc(250,320,100,100, 0, PI, CHORD);\n    stroke(0);\n    fill(255); \n    noStroke(); \n    arc(250, 250, 70, 40, 0, PI, CHORD); \/\/mouth\n    fill(0);\n    stroke(0);\n    circle(220, 200, 20);\n    circle(280, 200, 20);\n    noFill();\n    arc(240, 200, 20, 50, 0, HALF_PI);\n    arc(244, 230, 20, 10, 0, PI + QUARTER_PI); \n    noStroke();\n    fill(184, 120, 138);\n    ellipse(200, 230, 30, 20);\n    ellipse(300 , 230, 30, 20);\n    rect(200, 170, 40, 10);\n    rect(260, 170, 40, 10);\n    noFill();\n    stroke(255);\n    strokeWeight(5)\n    line(250, 80, 250, 150);   \n    line(230, 80, 230, 150);   \n    line(210, 90, 210, 150);   \n    line(270, 80, 270, 150);   \n    line(290, 90, 290, 150);   \n\n\n    noLoop();\n\n\n}\n<\/code><\/pre><\/div>\n\n\n\n<p><\/p><\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>sketch function setup() { createCanvas(500, 400); background(0); } function draw() { noStroke(); fill(255); ellipse(250,210,210,280); fill(252,192,210); ellipse(250,200,180,220); rect(225, 300, 50, 40); arc(250,320,100,100, 0, PI, CHORD); stroke(0); fill(255); noStroke(); arc(250, 250, 70, 40, 0, PI, CHORD); \/\/mouth fill(0); stroke(0); circle(220, 200, 20); circle(280, 200, 20); noFill(); arc(240, 200, 20, 50, 0, HALF_PI); arc(244, 230, 20, 10, 0, &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/2021\/09\/07\/project-1-my-self-portrait-12\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Project 1: My Self Portrait&#8221;<\/span><\/a><\/p>\n","protected":false},"author":682,"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\/65028"}],"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\/682"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/comments?post=65028"}],"version-history":[{"count":1,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/65028\/revisions"}],"predecessor-version":[{"id":65047,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/65028\/revisions\/65047"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/media?parent=65028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/categories?post=65028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/tags?post=65028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}