{"id":498,"date":"2022-09-21T05:23:40","date_gmt":"2022-09-21T05:23:40","guid":{"rendered":"https:\/\/www.courses.tegabrain.com\/printcode\/?p=498"},"modified":"2022-09-21T16:55:09","modified_gmt":"2022-09-21T16:55:09","slug":"week-2-riso-animation","status":"publish","type":"post","link":"https:\/\/www.courses.tegabrain.com\/printcode\/week-2-riso-animation\/","title":{"rendered":"Week 2 Riso Animation"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">As someone that is more familiar with code than with the Adobe tools, I was surprised at how long the p5 code took me to finesse, to the point where I&#8217;m not sure if it would have been faster if I had used Illustrator instead (which I&#8217;m sure would have taken me <em>at least<\/em> 3 hours). Hopefully, now that I am more familiar with the p5 animation frame code, it will make future use easier. Printing out the riso prints was really fun (as I have documented here: https:\/\/annaylin.notion.site\/Print-Code-19778ed51a7e41c7ba9295fdf94b7188). The hardest part was finessing the code to make the animation look the way I want it to.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/20220915185112686_1_Page_1-663x1024.png\" alt=\"\" class=\"wp-image-499\" width=\"321\" height=\"496\" srcset=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/20220915185112686_1_Page_1-663x1024.png 663w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/20220915185112686_1_Page_1-194x300.png 194w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/20220915185112686_1_Page_1-768x1187.png 768w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/20220915185112686_1_Page_1-994x1536.png 994w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/20220915185112686_1_Page_1-1325x2048.png 1325w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/20220915185112686_1_Page_1-1568x2423.png 1568w\" sizes=\"auto, (max-width: 321px) 100vw, 321px\" \/><figcaption><em>Scan of printout of contact sheet 1<\/em>.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Though I was able to do it easily enough in the web editor (with Tega&#8217;s previous example of Kelli&#8217;s work), I wanted to preserve as much of the image quality as possible as I felt like the graininess wasn&#8217;t as fine in the &lt; 5mb. version of the image.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It took me about 2 hours of fiddling with running p5.js locally (I tried to see if I could run it with a bundler like parcel to enable hot reloading&#8211;it didn&#8217;t work out because I ran into an issue with calling the p5.image() function from the p5 library as a JS import), then trying to use the original scans and lining up the pixels correctly. With the higher quality scans, as they were a larger file, I seemed to run into an issue with the scale. The p5 animation frames were very zoomed in, even after I triple-checked my pixel measurements. I added the code to adjust the pixel density to 1, and tried to save my files as 72dpi, but I couldn&#8217;t seem to figure out why they were so zoomed in. In the end, I returned to using the smaller-sized images.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I will continue to look into finessing the animations whether with code or manually with Illustrator and Photoshop, and if I am able to fix the quality, I will upload it here. Overall, this project was equal parts challenging and fun, and I really like how abstract the riso scans of my original seaweed video came out.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Update: I did make a higher quality gif, shown below. I darkened it a little bit by adding a layer at the top to multiply the colors, at an opacity of 8%. The graininess is more apparent in this version, and I can make out a little bit more of the individual leaves of seaweed moving and the light moving through.<\/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\/riso-animation-hd.gif\" alt=\"\" class=\"wp-image-502\" width=\"384\" height=\"508\" \/><figcaption><em>Animation made with higher-quality scans, manually in Photoshop.<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"seaweed\" width=\"750\" height=\"563\" src=\"https:\/\/www.youtube.com\/embed\/nwba4RfYPdE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><figcaption><em>Seaweed animation, made with p5js<\/em>.<\/figcaption><\/figure>\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\/20190629_224927-ANIMATION.gif\" alt=\"\" class=\"wp-image-500\" width=\"282\" height=\"376\" \/><figcaption><em>Original seaweed gif made in Google Photos, taken with my phone in 2018.<\/em><\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>As someone that is more familiar with code than with the Adobe tools, I was surprised at how long the p5 code took me to finesse, to the point where I&#8217;m not sure if it would have been faster if I had used Illustrator instead (which I&#8217;m sure would have taken me at least 3&hellip; <a class=\"more-link\" href=\"https:\/\/www.courses.tegabrain.com\/printcode\/week-2-riso-animation\/\">Continue reading <span class=\"screen-reader-text\">Week 2 Riso Animation<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-498","post","type-post","status-publish","format-standard","hentry","category-assignment1","entry"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts\/498","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/comments?post=498"}],"version-history":[{"count":3,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts\/498\/revisions"}],"predecessor-version":[{"id":505,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts\/498\/revisions\/505"}],"wp:attachment":[{"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/media?parent=498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/categories?post=498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/tags?post=498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}