{"id":64988,"date":"2021-09-07T14:01:23","date_gmt":"2021-09-07T18:01:23","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/?p=64988"},"modified":"2021-09-07T14:01:23","modified_gmt":"2021-09-07T18:01:23","slug":"project-1-my-self-portrait-10","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/2021\/09\/07\/project-1-my-self-portrait-10\/","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=\"400\" data-height=\"600\" href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-content\/uploads\/2021\/09\/sketch-25.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=\"400\" height=\"600\"><\/iframe><pre class=\"language-javascript\"><code class=\"p5_editor language-javascript\">function setup() {\n    createCanvas(400,600);\n    background(255);\n}\n\nfunction draw() {\n    fill(166,196,255);\n    rect(0,0,399,599);\n    fill(255,238,189);\n    rect(235,280,35,300);\n    ellipse(250,280,200,270);\n    fill(255,255,255);\n    circle(200,220,50);\n    circle(300,250,80);\n    fill(0,0,0);\n    circle(190,220,15);\n    circle(280,250,15);\n    fill(247,126,148);\n    arc(250, 280, 80, 80, 0, PI + QUARTER_PI, CHORD);\n    fill(0,0,0);\n    triangle(160,140,180,190,250,145);\n    triangle(200,150,220,100,275,155);\n    triangle(250,150,280,120,300,165);\n    triangle(290,160,310,140,330,200);\n    fill(0,0,0);\n    rect(225,500,80,199);\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(400,600); background(255); } function draw() { fill(166,196,255); rect(0,0,399,599); fill(255,238,189); rect(235,280,35,300); ellipse(250,280,200,270); fill(255,255,255); circle(200,220,50); circle(300,250,80); fill(0,0,0); circle(190,220,15); circle(280,250,15); fill(247,126,148); arc(250, 280, 80, 80, 0, PI + QUARTER_PI, CHORD); fill(0,0,0); triangle(160,140,180,190,250,145); triangle(200,150,220,100,275,155); triangle(250,150,280,120,300,165); triangle(290,160,310,140,330,200); fill(0,0,0); rect(225,500,80,199); noLoop(); }<\/p>\n","protected":false},"author":635,"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\/64988"}],"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\/635"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/comments?post=64988"}],"version-history":[{"count":1,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/64988\/revisions"}],"predecessor-version":[{"id":65031,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/64988\/revisions\/65031"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/media?parent=64988"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/categories?post=64988"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/tags?post=64988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}