{"id":70441,"date":"2022-09-07T10:49:36","date_gmt":"2022-09-07T14:49:36","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/?p=70441"},"modified":"2022-09-07T10:49:36","modified_gmt":"2022-09-07T14:49:36","slug":"project-01-7","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/2022\/09\/07\/project-01-7\/","title":{"rendered":"project 01"},"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>My self portrait project!<\/p>\n<div><a class=\"p5_sketch_link\" href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-content\/uploads\/2022\/09\/sketch-90.js\" data-width=\"500\" data-height=\"500\">sketch<\/a><iframe src=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-content\/plugins\/p5-embedder\/p5_iframe.html\" class=\"p5_exampleFrame\" width=\"500\" height=\"500\"><\/iframe><pre class=\"language-javascript\"><code class=\"p5_editor language-javascript\">function setup() {\n    createCanvas(500, 500);\n    background(249, 198, 187);\n}\n\nfunction draw() {\n\tbackground(249, 198, 187);\n\tstrokeWeight(0);\n\tfill(239, 221, 199); \/\/skin tone\n\trect(200, 200, 100, 300); \/\/neck\n\tfill(226, 189, 181); \/\/skin shadow\n\tellipse(250, 300, 110, 110); \/\/neck shadow\n\tfill(249, 198, 187); \/\/bg color to carve neck shape out\n\tellipse(330, 385, 80, 320); \/\/bg to carve neck shape (right)\n\tellipse(170, 385, 80, 320); \/\/bg to carve neck shape (left)\n    fill(168, 142, 112); \/\/hair color\n    ellipse(250, 180, 250, 270); \/\/back of hair\n\tfill(239, 221, 199); \/\/skin tone\n    ellipse(250, 200, 200, 250); \/\/bottom of head\/chin\n    ellipse(250, 180, 200, 200); \/\/top of head, to round out\n    ellipse(150, 220, 60, 80); \/\/left ear\n    ellipse(350, 220, 60, 80); \/\/right ear\n    stroke(226, 189, 181); \/\/ear x\n    strokeWeight(4);\n    line(130, 210, 155, 240); \/\/L X\n    line(135, 240, 150, 205); \/\/L X\n    line(370, 210, 345, 240); \/\/R X\n    line(365, 240, 350, 205);\n    strokeWeight(0); \/\/reset\n    fill(168, 142, 112); \/\/hair color\n    ellipse(260, 100, 70, 70) \/\/middle curl\n    fill(239, 221, 199); \/\/skin tone\n    ellipse(274, 107, 55, 55); \/\/skin to carve curl\n    fill(122, 114, 105); \/\/eyeliner color\n    ellipse(200, 196, 55, 60); \/\/L eyeliner\n    ellipse(300, 196, 55, 60); \/\/R eyeliner\n    fill(234, 240, 247); \/\/whites of eyes\n    ellipse(200, 200, 55, 60); \/\/L white of eye\n    ellipse(300, 200, 55, 60); \/\/R white of eye\n    fill(113, 130, 154); \/\/eyeball color\n    ellipse(202, 200, 33, 33); \/\/L eye\n    ellipse(298, 200, 33, 33); \/\/R eye\n    fill(255); \/\/eye highlights\n    ellipse(190, 187, 15, 15); \/\/L highlight\n    ellipse(286, 187, 15, 15); \/\/R highlight\n    fill(168, 142, 112); \/\/hair color (for eyebrows)\n    ellipse(202, 150, 22, 10); \/\/L eyebrow\n    ellipse(298, 150, 22, 10); \/\/R eyebrow\n    fill(226, 189, 181); \/\/skin shadow (for nose)\n    triangle(250, 200, 235, 250, 265, 250);\n    fill(186, 101, 101); \/\/mouth color\n    ellipse(250, 275, 35, 20); \/\/mouth\n    fill(250, 250, 242); \/\/teeth color\n    ellipse(250, 270, 30, 10); \/\/teeth\n    fill(103, 95, 130); \/\/shirt color\n    ellipse(250, 520, 250, 200); \/\/shirt\n    fill(129, 121, 156); \/\/shirt collar color\n    ellipse(250, 455, 115, 80) \/\/collar\n    fill(239, 221, 199); \/\/skin tone\n    ellipse(250, 445, 100, 70); \/\/neck base\n    fill(201, 199, 209); \/\/for jewelry\n    ellipse(145, 255, 10, 10); \/\/L earring(s)\n    ellipse(133, 246, 10, 10); \/\/L earring(s)\n    ellipse(130, 195, 10, 10); \/\/L earring(s)\n    ellipse(355, 255, 10, 10); \/\/R earring(s)\n    ellipse(367, 246, 10, 10); \/\/R earring(s)\n    ellipse(373, 232, 10, 10); \/\/R earring(s)\n    ellipse(237, 240, 10, 7); \/\/nose piercing\n    fill(125, 184, 144); \/\/nose piercing jewel color\n    ellipse(237, 240, 6, 4); \/\/nose piercing jewel\n}<\/code><\/pre><\/div><\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>My self portrait project! sketch function setup() { createCanvas(500, 500); background(249, 198, 187); } function draw() { background(249, 198, 187); strokeWeight(0); fill(239, 221, 199); \/\/skin tone rect(200, 200, 100, 300); \/\/neck fill(226, 189, 181); \/\/skin shadow ellipse(250, 300, 110, 110); \/\/neck shadow fill(249, 198, 187); \/\/bg color to carve neck shape out ellipse(330, 385, 80, &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/2022\/09\/07\/project-01-7\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;project 01&#8221;<\/span><\/a><\/p>\n","protected":false},"author":766,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,56],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/posts\/70441"}],"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\/766"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/comments?post=70441"}],"version-history":[{"count":4,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/posts\/70441\/revisions"}],"predecessor-version":[{"id":70448,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/posts\/70441\/revisions\/70448"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/media?parent=70441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/categories?post=70441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2022\/wp-json\/wp\/v2\/tags?post=70441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}