{"id":3482,"date":"2020-11-16T11:05:36","date_gmt":"2020-11-16T11:05:36","guid":{"rendered":"http:\/\/www.ozone.me.uk\/wordpress\/?p=3482"},"modified":"2020-11-16T11:05:36","modified_gmt":"2020-11-16T11:05:36","slug":"monday-virus","status":"publish","type":"post","link":"https:\/\/ozone.me.uk\/?p=3482","title":{"rendered":"Monday Virus Mutation"},"content":{"rendered":"<p>Been learning more Javascript stuff and made a Frame recording app for some of the loops I have been making. There is so much stuff online to look at! This is inspired by a piece of work I received on my tweeter.<\/p>\n<p>This one is another Mathematics and trigonometry looping thing.<\/p>\n<p>With the right colours choice, it is easy to make it look like a virus thing.<\/p>\n<p>I make a few hundreds of frames and then convert them into either a movie of a GIF using some online tools like:\u00a0 <a href=\"https:\/\/ezgif.com\/maker\">https:\/\/ezgif.com\/maker<\/a><\/p>\n<p>The one below is 150 frames at 30 frames per second in a loop. The original rendering is 400 pixels by 400 pixels. It is a 13mb file&#8230;<\/p>\n<p><a href=\"https:\/\/ozone.me.uk\/wp-content\/uploads\/2020\/11\/more_virus_oli_400.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3483 aligncenter\" src=\"https:\/\/ozone.me.uk\/wp-content\/uploads\/2020\/11\/more_virus_oli_400.gif\" alt=\"\" width=\"400\" height=\"400\" \/><\/a><\/p>\n<p>I coded in Javascript so that any browser can load the code and used Visual Code to program it. I could have used &#8220;Processing v4&#8221; and it would be a lot quicker but wanted the challenge of refactoring in Javascript. Main loop code :<\/p>\n<p><a href=\"https:\/\/ozone.me.uk\/wp-content\/uploads\/2020\/11\/Screenshot-2020-11-16-at-11.06.48.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-3485\" src=\"https:\/\/ozone.me.uk\/wp-content\/uploads\/2020\/11\/Screenshot-2020-11-16-at-11.06.48.png\" alt=\"\" width=\"2024\" height=\"1950\" srcset=\"https:\/\/ozone.me.uk\/wp-content\/uploads\/2020\/11\/Screenshot-2020-11-16-at-11.06.48.png 2024w, https:\/\/ozone.me.uk\/wp-content\/uploads\/2020\/11\/Screenshot-2020-11-16-at-11.06.48-300x289.png 300w, https:\/\/ozone.me.uk\/wp-content\/uploads\/2020\/11\/Screenshot-2020-11-16-at-11.06.48-1024x987.png 1024w, https:\/\/ozone.me.uk\/wp-content\/uploads\/2020\/11\/Screenshot-2020-11-16-at-11.06.48-768x740.png 768w, https:\/\/ozone.me.uk\/wp-content\/uploads\/2020\/11\/Screenshot-2020-11-16-at-11.06.48-1536x1480.png 1536w\" sizes=\"auto, (max-width: 2024px) 100vw, 2024px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Been learning more Javascript stuff and made a Frame recording app for some of the loops I have been making. There is so much stuff online to look at! This is inspired by a piece of work I received on &hellip; <a href=\"https:\/\/ozone.me.uk\/?p=3482\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-3482","post","type-post","status-publish","format-standard","hentry","category-coding"],"_links":{"self":[{"href":"https:\/\/ozone.me.uk\/index.php?rest_route=\/wp\/v2\/posts\/3482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ozone.me.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ozone.me.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ozone.me.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ozone.me.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3482"}],"version-history":[{"count":0,"href":"https:\/\/ozone.me.uk\/index.php?rest_route=\/wp\/v2\/posts\/3482\/revisions"}],"wp:attachment":[{"href":"https:\/\/ozone.me.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ozone.me.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ozone.me.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}