{"id":232,"date":"2022-09-16T13:53:46","date_gmt":"2022-09-16T13:53:46","guid":{"rendered":"https:\/\/www.courses.tegabrain.com\/printcode\/?p=232"},"modified":"2022-09-22T16:59:52","modified_gmt":"2022-09-22T16:59:52","slug":"assignment-1-animation-of-landscapes","status":"publish","type":"post","link":"https:\/\/www.courses.tegabrain.com\/printcode\/assignment-1-animation-of-landscapes\/","title":{"rendered":"Assignment 1: Animation of landscapes"},"content":{"rendered":"\n<p>For the assignment 1, we are required to select an animation \/ video and cut it into frames and make them into contact sheets for riso-printing. After that, we reassemble the contact sheets into frames and play them with p5.js or ffmpeg.<\/p>\n\n\n\n<p>Here is what I have done:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" data-id=\"234\" src=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/photo_2022-09-16-09.32.44-1024x576.jpeg\" alt=\"\" class=\"wp-image-234\" srcset=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/photo_2022-09-16-09.32.44-1024x576.jpeg 1024w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/photo_2022-09-16-09.32.44-300x169.jpeg 300w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/photo_2022-09-16-09.32.44-768x432.jpeg 768w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/photo_2022-09-16-09.32.44.jpeg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" data-id=\"235\" src=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/photo_2022-09-16-09.32.47-576x1024.jpeg\" alt=\"\" class=\"wp-image-235\" srcset=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/photo_2022-09-16-09.32.47-576x1024.jpeg 576w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/photo_2022-09-16-09.32.47-169x300.jpeg 169w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/photo_2022-09-16-09.32.47.jpeg 720w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure>\n<figcaption class=\"blocks-gallery-caption\">One Color<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"627\" height=\"1024\" data-id=\"237\" src=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/1-627x1024.jpg\" alt=\"\" class=\"wp-image-237\" srcset=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/1-627x1024.jpg 627w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/1-184x300.jpg 184w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/1.jpg 755w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"628\" height=\"1024\" data-id=\"236\" src=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/2-628x1024.jpg\" alt=\"\" class=\"wp-image-236\" srcset=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/2-628x1024.jpg 628w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/2-184x300.jpg 184w, https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/2.jpg 756w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><\/figure>\n<figcaption class=\"blocks-gallery-caption\">Two Colors<\/figcaption><\/figure>\n\n\n\n<p>I chose pink and blue to be my main colors. Because pink is much lighter than blue, I made pink to be the base layer and blue to be the second layer. As shown above, the pink color provides a hazy background \/ atmosphere, while the darker blue highlights the transition of the animation.<\/p>\n\n\n\n<p>Final animations with p5.js:<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Screen-Recording-2022-09-15-at-19.51.33.mov\"><\/video><\/figure>\n\n\n\n<p>However, to calibrate riso frames is sometimes annoying, so I borrowed the inspiration from our professor to make frame rate controllable using left \/ right arrows. So, I could play the animation at a very low frame rate and adjust variables slightly. Furthermore, I also apply dynamic filters to the animation to add more characteristics and textures (using up \/ down arrows):<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/www.courses.tegabrain.com\/printcode\/wp-content\/uploads\/2022\/09\/Screen-Recording-2022-09-15-at-20.16.35.mov\"><\/video><\/figure>\n\n\n\n<p>The full project link: <a href=\"https:\/\/editor.p5js.org\/jy2122\/full\/hfIfBXa-e\">https:\/\/editor.p5js.org\/jy2122\/full\/hfIfBXa-e<\/a><\/p>\n\n\n\n<p class=\"has-text-align-right\"><em>by Jinzhong Yu<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For the assignment 1, we are required to select an animation \/ video and cut it into frames and make them into contact sheets for riso-printing. After that, we reassemble the contact sheets into frames and play them with p5.js or ffmpeg. Here is what I have done: I chose pink and blue to be&hellip; <a class=\"more-link\" href=\"https:\/\/www.courses.tegabrain.com\/printcode\/assignment-1-animation-of-landscapes\/\">Continue reading <span class=\"screen-reader-text\">Assignment 1: Animation of landscapes<\/span><\/a><\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[19,12],"class_list":["post-232","post","type-post","status-publish","format-standard","hentry","category-assignment1","tag-assignment","tag-assignment1","entry"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts\/232","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\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":2,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":240,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/posts\/232\/revisions\/240"}],"wp:attachment":[{"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/printcode\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}