{"id":415,"date":"2018-09-14T20:44:24","date_gmt":"2018-09-14T20:44:24","guid":{"rendered":"https:\/\/www.courses.tegabrain.com\/cc18\/?p=415"},"modified":"2018-09-24T19:38:48","modified_gmt":"2018-09-24T19:38:48","slug":"variableface","status":"publish","type":"post","link":"https:\/\/www.courses.tegabrain.com\/cc18\/2018\/09\/14\/variableface\/","title":{"rendered":"VariableFace"},"content":{"rendered":"<figure id=\"attachment_417\" aria-describedby=\"caption-attachment-417\" style=\"width: 300px\" class=\"wp-caption alignright\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"417\" data-permalink=\"https:\/\/www.courses.tegabrain.com\/cc18\/2018\/09\/14\/variableface\/screen-shot-2018-09-14-at-16-43-39\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-16.43.39.png?fit=954%2C942&amp;ssl=1\" data-orig-size=\"954,942\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screen Shot 2018-09-14 at 16.43.39\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-16.43.39.png?fit=300%2C296&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-16.43.39.png?fit=954%2C942&amp;ssl=1\" class=\"wp-image-417 size-medium\" src=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-16.43.39.png?resize=300%2C296&#038;ssl=1\" alt=\"\" width=\"300\" height=\"296\" srcset=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-16.43.39.png?resize=300%2C296&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-16.43.39.png?resize=768%2C758&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Screen-Shot-2018-09-14-at-16.43.39.png?w=954&amp;ssl=1 954w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-417\" class=\"wp-caption-text\">static face<\/figcaption><\/figure>\n<figure id=\"attachment_508\" aria-describedby=\"caption-attachment-508\" style=\"width: 214px\" class=\"wp-caption alignnone\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"508\" data-permalink=\"https:\/\/www.courses.tegabrain.com\/cc18\/2018\/09\/14\/variableface\/img_9514\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/IMG_9514.jpg?fit=1125%2C1576&amp;ssl=1\" data-orig-size=\"1125,1576\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"IMG_9514\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;sketch&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/IMG_9514.jpg?fit=214%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/IMG_9514.jpg?fit=731%2C1024&amp;ssl=1\" class=\"size-medium wp-image-508\" src=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/IMG_9514.jpg?resize=214%2C300&#038;ssl=1\" alt=\"\" width=\"214\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/IMG_9514.jpg?resize=214%2C300&amp;ssl=1 214w, https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/IMG_9514.jpg?resize=768%2C1076&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/IMG_9514.jpg?resize=731%2C1024&amp;ssl=1 731w, https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/IMG_9514.jpg?w=1125&amp;ssl=1 1125w\" sizes=\"auto, (max-width: 214px) 100vw, 214px\" \/><figcaption id=\"caption-attachment-508\" class=\"wp-caption-text\">sketch<\/figcaption><\/figure>\n<figure id=\"attachment_502\" aria-describedby=\"caption-attachment-502\" style=\"width: 224px\" class=\"wp-caption alignnone\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"502\" data-permalink=\"https:\/\/www.courses.tegabrain.com\/cc18\/2018\/09\/14\/variableface\/claudia_variableface\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Claudia_variableFace.gif?fit=440%2C590&amp;ssl=1\" data-orig-size=\"440,590\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Claudia_variableFace\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Claudia_variableFace.gif?fit=224%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Claudia_variableFace.gif?fit=440%2C590&amp;ssl=1\" class=\"wp-image-502 size-medium\" src=\"https:\/\/i0.wp.com\/www.courses.tegabrain.com\/cc18\/wp-content\/uploads\/2018\/09\/Claudia_variableFace.gif?resize=224%2C300&#038;ssl=1\" alt=\"\" width=\"224\" height=\"300\" \/><figcaption id=\"caption-attachment-502\" class=\"wp-caption-text\">variable face<\/figcaption><\/figure>\n<p><a href=\"https:\/\/www.openprocessing.org\/sketch\/589973\">code:\u00a0Variable Face Project<\/a><\/p>\n<p class=\"p1\">For this project, I coded a portrait of my friend Gray. I decided to use geometric shapes and shading to create an image as close to my sketch as possible.<\/p>\n<p class=\"p1\">I encountered a lot of problems while coding my figure\u2019s clothing. In the sketch, my friend is wearing a plaid jacket. This pattern was very hard to code, so I decided to change it into a line pattern that somewhat mimic the plaid he\u2019s wearing. To do so I used nested for loops that help me draw a line segment repeatedly within a boundary. Making variations of the static face wasn\u2019t really hard for me. When I first coded my face, I already used a lot of variables so that I can reposition shapes easily. Therefore, to make my variable faces, I simply put my variables in the mousePressed function so they change every time I click the screen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>code:\u00a0Variable Face Project For this project, I coded a portrait of my friend Gray. I decided to use geometric shapes and shading to create an image as close to my sketch as possible. I encountered a lot of problems while coding my figure\u2019s clothing. In the sketch, my friend is wearing a plaid jacket. This<a class=\"more-link button\" href=\"https:\/\/www.courses.tegabrain.com\/cc18\/2018\/09\/14\/variableface\/\">Read More<\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[],"class_list":["post-415","post","type-post","status-publish","format-standard","hentry","category-p1-theface"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paeb9f-6H","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/posts\/415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/comments?post=415"}],"version-history":[{"count":9,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/posts\/415\/revisions"}],"predecessor-version":[{"id":511,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/posts\/415\/revisions\/511"}],"wp:attachment":[{"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/media?parent=415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/categories?post=415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/tags?post=415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}