{"id":231,"date":"2022-09-18T22:45:26","date_gmt":"2022-09-18T22:45:26","guid":{"rendered":"https:\/\/www.courses.tegabrain.com\/printcode\/?p=231"},"modified":"2022-09-21T17:46:33","modified_gmt":"2022-09-21T17:46:33","slug":"hw-1-whats-your-price","status":"publish","type":"post","link":"https:\/\/www.courses.tegabrain.com\/printcode\/hw-1-whats-your-price\/","title":{"rendered":"HW 1- What&#8217;s Your Price?"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"1024\" src=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Print-and-code-HW-Week-1-1-790x1024.png\" alt=\"\" class=\"wp-image-307\" srcset=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Print-and-code-HW-Week-1-1-790x1024.png 790w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Print-and-code-HW-Week-1-1-232x300.png 232w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Print-and-code-HW-Week-1-1-768x995.png 768w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Print-and-code-HW-Week-1-1-1186x1536.png 1186w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Print-and-code-HW-Week-1-1-1581x2048.png 1581w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Print-and-code-HW-Week-1-1-1568x2032.png 1568w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Print-and-code-HW-Week-1-1.png 1698w\" sizes=\"auto, (max-width: 790px) 100vw, 790px\" \/><\/figure>\n\n\n\n<p>For my first jab at the risograph printer I used p5.js to generate this image of a Barcode of the current Dow Jones Stock Market index with a text cut out of the question &#8220;What&#8217;s Your Price?&#8221;. <\/p>\n\n\n\n<p>When we were first given the assignment I knew right away that I wanted to play around with the idea of a barcode. The next step was figuring out what I wanted to cut out. I thought a bit about what barcodes are for which is typically to mark the price of something. This gave me the idea of generating a text cutout with the question &#8220;Whats your price&#8221;. I also thought working with a text cutout should be simple enough for my first go at the riso and p5. I am new to coding so my first challenge was figuring out how to code an image of a barcode. The first problem I ran into was not having the skill to manipulate the code I found that generated a barcode using p5 so I decided to instead use an image of a barcode and extract the color layers (although I soon realized that since I was working with a black and white image this may not have been necessary at all). This problem actually ended up being great because it gave me the idea of generating a barcode image of the current Dow Jones stock market index which I think makes the print much more interesting. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/BLUE-1-1.png\" alt=\"\" class=\"wp-image-310\" width=\"363\" height=\"470\" srcset=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/BLUE-1-1.png 612w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/BLUE-1-1-232x300.png 232w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/figure>\n\n\n\n<p>After I created the barcode image of the Dow Jones I used the cutout function to cutout the text of my question. Since the image was black and white I wanted to make sure there was some green hue to it so I used a tint function to tint the image green. Although this had no impact on the print It gave me a general idea of what it could look like within the preview window. Overall i&#8217;m happy with my first print though I think I will work on dithering my images next time to give it more of that imperfect risograph feel. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>For my first jab at the risograph printer I used p5.js to generate this image of a Barcode of the current Dow Jones Stock Market index with a text cut out of the question &#8220;What&#8217;s Your Price?&#8221;. When we were first given the assignment I knew right away that I wanted to play around with&hellip; <a class=\"more-link\" href=\"https:\/\/www.courses.tegabrain.com\/printcode\/hw-1-whats-your-price\/\">Continue reading <span class=\"screen-reader-text\">HW 1- What&#8217;s Your Price?<\/span><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry","category-print1","entry"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/comments?post=231"}],"version-history":[{"count":2,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":311,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts\/231\/revisions\/311"}],"wp:attachment":[{"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/media?parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/categories?post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/tags?post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}