{"id":64889,"date":"2021-09-07T11:29:30","date_gmt":"2021-09-07T15:29:30","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/?p=64889"},"modified":"2021-09-07T11:29:30","modified_gmt":"2021-09-07T15:29:30","slug":"project-1-self-portrait-3","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/2021\/09\/07\/project-1-self-portrait-3\/","title":{"rendered":"Project 1: 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><p>function setup() {<br>createCanvas(600, 800);<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p>function draw() {<\/p>\n\n\n\n<p>endShape();<\/p>\n\n\n\n<p>\/\/face<br>noStroke();<br>fill(240, 190, 155);<br>ellipse(290, 320, 270, 350);<\/p>\n\n\n\n<p>\/\/mole<br>fill(80, 79, 77);<br>ellipse(240, 460, 7, 10);<\/p>\n\n\n\n<p>\/\/left eye white<br>fill(204, 208, 210);<br>beginShape();<br>curveVertex(205, 300);<br>curveVertex(205, 300);<br>curveVertex(236, 288);<br>curveVertex(256, 304);<br>curveVertex(248, 309);<br>curveVertex(238, 311);<br>curveVertex(215, 301);<br>curveVertex(215, 301);<br>endShape(CLOSE);<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ right eye white\nbeginShape();\ncurveVertex(331, 315);\ncurveVertex(331, 315);\ncurveVertex(356, 300);\ncurveVertex(380, 310);\ncurveVertex(356, 320);\ncurveVertex(340, 315);\ncurveVertex(340, 315);\nendShape(CLOSE);\n\n\n\/\/ left eye shadow\nfill(192, 195, 196);\n\nbeginShape();\ncurveVertex(230, 290);\ncurveVertex(248, 295);\ncurveVertex(256, 305);\ncurveVertex(247, 305);\ncurveVertex(251, 301);\ncurveVertex(245, 295);\ncurveVertex(229, 287);\nendShape();\n\n\/\/ right eye shadow\nbeginShape();\ncurveVertex(360, 300);\ncurveVertex(345, 305);\ncurveVertex(330, 315);\ncurveVertex(335, 315);\ncurveVertex(340, 315);\ncurveVertex(340, 310);\ncurveVertex(345, 305);\ncurveVertex(360, 290);\nendShape();\n\n\/\/eyeball\nfill(0, 0, 0);\nellipse(237, 300, 21, 18);\nellipse(359, 310, 21, 18);\n\nfill(255, 255, 255);\nellipse(235, 295, 4, 4);\nellipse(355, 305, 4, 4);\n\n\/\/eyelid \nbeginShape();\nstrokeWeight(2);\nstroke(60, 40, 20);\nbeginShape();\ncurveVertex(214, 287);\ncurveVertex(228, 284);\ncurveVertex(247, 289);\ncurveVertex(239, 287);\ncurveVertex(248, 292);\ncurveVertex(250, 294);\nendShape();\n\nbeginShape();\nstrokeWeight(1);\nfill(190, 180, 153);\nbeginShape();\n\ncurveVertex(210, 286);\ncurveVertex(214, 287);\ncurveVertex(228, 284);\ncurveVertex(247, 289);\ncurveVertex(239, 287);\ncurveVertex(248, 292);\ncurveVertex(250, 294);\nendShape();\n\n\/\/ left eye outline \nbeginShape();\nstrokeWeight(2.5);\nnoFill();\nstroke(62, 38, 22);\nbeginShape();\ncurveVertex(205, 315);\ncurveVertex(210, 295);\ncurveVertex(240, 290);\ncurveVertex(260, 305);\ncurveVertex(265, 335);\nendShape();\n\n\/\/ right eye outline\n\nbeginShape();\ncurveVertex(325, 344);\ncurveVertex(330, 315);\ncurveVertex(355, 300);\ncurveVertex(380, 310);\ncurveVertex(391, 330);\nendShape();\n\nbeginShape();\nstrokeWeight(2.5);\nnoFill();\nstroke(60, 40, 20);\ncurveVertex(338, 307);\ncurveVertex(345, 297); \ncurveVertex(354, 292);\nendShape();<\/code><\/pre>\n\n\n\n<p>\/\/nose<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>noStroke();\nfill(180, 130, 125);\nbeginShape();\n\ncurveVertex(260, 360);\ncurveVertex(265, 375);\ncurveVertex(280, 385);\ncurveVertex(295, 395);\ncurveVertex(310, 388);\ncurveVertex(328, 385);\ncurveVertex(329, 372);\ncurveVertex(329, 385);\ncurveVertex(325, 396);\ncurveVertex(310, 395);\ncurveVertex(286, 399);\ncurveVertex(270, 390);\ncurveVertex(260, 375);\ncurveVertex(270, 360);\ncurveVertex(275, 350);\ncurveVertex(278, 380);\nendShape();\n\n\nnoFill();\nstroke(150, 99, 79);\nbeginShape();\ncurveVertex(280, 350);\ncurveVertex(265, 365);\ncurveVertex(265, 380);\ncurveVertex(275, 390);\ncurveVertex(293, 390);\nendShape();\n\nbeginShape();\ncurveVertex(320, 350);\ncurveVertex(325, 365);\ncurveVertex(325, 385);\ncurveVertex(310, 389);\ncurveVertex(298, 399);\ncurveVertex(280, 390);\ncurveVertex(275, 390);\ncurveVertex(260, 395);\nendShape();\n\n\/\/mouth\n\nnoStroke();\nfill(170, 100, 95);\nbeginShape();\ncurveVertex(235, 413);\ncurveVertex(250, 410);\ncurveVertex(263, 410);\ncurveVertex(285, 410);\ncurveVertex(295, 415);\ncurveVertex(305, 410);\ncurveVertex(320, 415);\ncurveVertex(335, 415);\ncurveVertex(325, 420);\ncurveVertex(310, 420);\ncurveVertex(295, 425);\ncurveVertex(275, 418);\ncurveVertex(254, 418);\ncurveVertex(249, 413);\ncurveVertex(241, 405);\nendShape();\n\nfill(220, 150, 140);\nbeginShape();\ncurveVertex(239, 405);\ncurveVertex(249, 411);\ncurveVertex(254, 415);\ncurveVertex(273, 415);\ncurveVertex(293, 422);\ncurveVertex(307, 419);\ncurveVertex(327, 422);\ncurveVertex(335, 421);\ncurveVertex(320, 431);\ncurveVertex(291, 438);\ncurveVertex(265, 429);\ncurveVertex(255, 422);\ncurveVertex(249, 411);\ncurveVertex(246, 397);\nendShape();\n\nnoFill();\nstroke(120, 60, 50);\nbeginShape();\ncurveVertex(225, 420);\ncurveVertex(226, 412);\ncurveVertex(233, 400);\n\nendShape();\n\n\n\nbeginShape();\ncurveVertex(229, 384);\ncurveVertex(241, 405);\ncurveVertex(254, 415);\ncurveVertex(273, 415);\ncurveVertex(293, 422);\ncurveVertex(307, 419);\ncurveVertex(327, 422);\ncurveVertex(343, 418);\ncurveVertex(345, 409);\nendShape();\n\nnoStroke();\nfill(245, 180, 175);\nellipse(270, 425, 9, 3);\n\n\/\/hair \nnoStroke();\nfill(39, 35, 29);\nbeginShape();\nvertex(340, 145);\nvertex(274, 148);\nvertex(228, 174);\nvertex(202, 223);\nvertex(200, 267);\nvertex(203, 409);\nvertex(200, 442);\nvertex(105, 400);\nvertex(120, 366);\nvertex(128, 315);\nvertex(143, 235);\nvertex(160, 181);\nvertex(189, 132);\nvertex(224, 103);\nvertex(274, 85);\nvertex(324, 80);\nvertex(344, 97);\nvertex(356, 89);\nvertex(370, 95);\nvertex(408, 135);\nvertex(432, 182);\nvertex(448, 236);\nvertex(459, 367);\n\nvertex(460, 470);\nvertex(472, 494);\nvertex(404, 487);\nvertex(338, 480);\nvertex(362, 461);\nvertex(379, 436);\nvertex(400, 220);\nvertex(381, 176);\nvertex(351, 153);\nvertex(355, 138);\nvertex(346, 114);\nvertex(347, 134);\nendShape(CLOSE);\n\nnoStroke();\nfill(39, 35, 29);\nellipse(353, 194, 139, 153);\nellipse(396, 255, 39, 153);\nellipse(380, 264, 39, 53);\nellipse(229, 177, 129, 53);\nellipse(278, 151, 39, 93);\nellipse(210, 179, 99, 83);\n\nfill(39, 35, 29);\nbeginShape();\nvertex(103, 400);\nvertex(77, 466);\nvertex(195,529);\nvertex(197, 422);\nendShape(CLOSE);\n\n\/\/eyebrows\nfill(39, 35, 29);\nbeginShape();\nvertex(327, 279); \nvertex(354, 279);\nvertex(382, 279);\nvertex(369, 289);\nvertex(326, 286);\nendShape(CLOSE);\n\nfill(39, 35, 29);\nbeginShape();\nvertex(261, 270); \nvertex(220, 263);\nvertex(204, 273);\nvertex(261, 278);\nendShape(CLOSE);<\/code><\/pre>\n\n\n\n<p>}<\/p><\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>function setup() {createCanvas(600, 800); } function draw() { endShape(); \/\/facenoStroke();fill(240, 190, 155);ellipse(290, 320, 270, 350); \/\/molefill(80, 79, 77);ellipse(240, 460, 7, 10); \/\/left eye whitefill(204, 208, 210);beginShape();curveVertex(205, 300);curveVertex(205, 300);curveVertex(236, 288);curveVertex(256, 304);curveVertex(248, 309);curveVertex(238, 311);curveVertex(215, 301);curveVertex(215, 301);endShape(CLOSE); \/\/nose }<\/p>\n","protected":false},"author":656,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/64889"}],"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\/656"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/comments?post=64889"}],"version-history":[{"count":1,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/64889\/revisions"}],"predecessor-version":[{"id":64896,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/posts\/64889\/revisions\/64896"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/media?parent=64889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/categories?post=64889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/15-104\/f2021\/wp-json\/wp\/v2\/tags?post=64889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}