{"id":2361,"date":"2008-12-12T14:07:18","date_gmt":"2008-12-12T14:07:18","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2008\/12\/12\/animation\/"},"modified":"2017-01-06T21:19:44","modified_gmt":"2017-01-07T02:19:44","slug":"animation","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2008\/12\/12\/animation\/","title":{"rendered":"Animation"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <introduction>\r\n      <p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/5021\">Bob<\/a>'s pick this week is <tt><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/18210-anymate\">anymate<\/a><\/tt> by Jerker Wagberg.\r\n      <\/p>\r\n   <\/introduction>\r\n   <p>My first File Exchange submission to feature an animated GIF was 6 years ago (ie, <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/2072-lidar-imaging-case-study-with-geometric-distortion-correction-\">lidar example<\/a>). My goal was to give a quick taste of the workflow progression of this considerable data analysis problem from beginning\r\n      to end. \r\n   <p>Over the years I've used animated GIFs to show dynamic content. A few months ago a customer inquiry made me realize others\r\n      could benefit from a recipe. So I posted <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/21944-animated-gif\">Animated GIF<\/a>.\r\n     <p>Last week I noticed it was quite popular and getting good reviews. Sure, that feels good. Moreover, when I followed the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/?term=tag%3A%22animation%22\">animation<\/a> tag search I discovered dozens of other submissions including <tt>anymate<\/tt> by Jerker. \r\n   <p>Jerker made his submission months before mine, and there is a lot to love about it. Aside from a clever name consider the\r\n      <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/18210-anymate#feedback\">ratings<\/a> for this submission. A perfect 5.0 score (as of this post) is one thing when only one person provides feedback. But unanimous\r\n      praise from 7 different reviewers, including such File Exchange heavyweights as <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/679\">John<\/a> and our own <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007\">Jiro<\/a>, well that makes for a pretty solid endorsement. Then there is his Published M File which is excellent (including how to pronounce his name in Swedish). Unlike my lightweight recipe, <tt>anymate<\/tt> is a serious tool with lots of capabilities and useful features that go way beyond simply capturing an animation for playback.\r\n      But I don't want to steal all his thunder. Check it out for yourself.\r\n   <\/p>\r\n   <p><b>Comments?<\/b><\/p>\r\n   <p>How do you use animation in your work? Tell us about it <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=2361#respond\">here<\/a>.\r\n   <\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_f098c5f63a3b48cebd6f5e32277a19f9() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='f098c5f63a3b48cebd6f5e32277a19f9 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' f098c5f63a3b48cebd6f5e32277a19f9';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        author = 'Robert Bemis';\r\n        copyright = 'Copyright 2008 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add author and copyright lines at the bottom if specified.\r\n        if ((author.length > 0) || (copyright.length > 0)) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (author.length > 0) {\r\n                d.writeln('% _' + author + '_');\r\n            }\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n      \r\n      d.title = title + ' (MATLAB code)';\r\n      d.close();\r\n      }   \r\n      \r\n-->\r\n<\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_f098c5f63a3b48cebd6f5e32277a19f9()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n            the MATLAB code \r\n            <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; 7.7<br><\/p>\r\n<\/div>\r\n<!--\r\nf098c5f63a3b48cebd6f5e32277a19f9 ##### SOURCE BEGIN #####\r\n%%\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/5021 Bob>'s \r\n% pick this week is \r\n% |<https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/18210-anymate anymate>|\r\n% by Jerker Wagberg.\r\n%%\r\n% My first File Exchange submission to feature an animated GIF was 6 years\r\n% ago (ie, \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/2072-lidar-imaging-case-study-with-geometric-distortion-correction- lidar example>).\r\n% My goal was to give a quick taste of the workflow progression of this\r\n% considerable data analysis problem from beginning to end. So I bundled a\r\n% series of screen shots into a multi-frame GIF image file.\r\n%%\r\n% <<https:\/\/www.mathworks.com\/matlabcentral\/fx_files\/2072\/1\/AnimatedScreenShots.gif>>\r\n%%\r\n% Over the years I've used animated GIFs to show dynamic content. A few\r\n% months ago a customer inquiry made me realize others could benefit from a\r\n% recipe. So I posted \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/21944-animated-gif Animated GIF>.\r\n%%\r\n% <<https:\/\/www.mathworks.com\/matlabcentral\/fx_files\/21944\/1\/content\/DancingPeaks.gif>>\r\n%%\r\n% Last week I noticed it was quite popular and getting good reviews. Sure, \r\n% that feels good. Moreover, when I followed the \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/?term=tag%3A%22animation%22 animation>\r\n% tag search I discovered dozens of other submissions including \r\n% |anymate| by Jerker. Check out his dancing peaks!\r\n%%\r\n% <<https:\/\/www.mathworks.com\/matlabcentral\/fx_files\/18210\/1\/content\/html\/anipeaks2.gif>>\r\n%%\r\n% Jerker made his submission months before mine, and there is a lot to love\r\n% about it. Aside from a clever name consider the \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/18210-anymate#feedback ratings> \r\n% for this submission. A perfect 5.0 score (as of this post) is one thing\r\n% when only one person provides feedback. But unanimous praise from 7\r\n% different reviewers, including such File Exchange heavyweights as \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/679 John> \r\n% and our own \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/15007 Jiro>, \r\n% well that makes for a pretty solid endorsement. Then there is his \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fx_files\/18210\/1\/content\/html\/anymatedoc.html Published M File>\r\n% which is excellent (including how to pronounce his name in Swedish). Unlike\r\n% my lightweight recipe, |anymate| is a serious tool with lots of\r\n% capabilities and useful features that go way beyond simply capturing an\r\n% animation for playback. But I don't want to steal all his thunder. Check it\r\n% out for yourself. \r\n%%\r\n% *Comments?*\r\n%%\r\n% How do you use animation in your work? Tell us about it\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=2361#respond here>.\r\n\r\n##### SOURCE END ##### f098c5f63a3b48cebd6f5e32277a19f9\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   \r\n      Bob's pick this week is anymate by Jerker Wagberg.\r\n      \r\n   \r\n   My first File Exchange submission to feature an animated GIF was 6 years ago (ie, lidar example). My goal was... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2008\/12\/12\/animation\/\">read more >><\/a><\/p>","protected":false},"author":46,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2361"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=2361"}],"version-history":[{"count":3,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2361\/revisions"}],"predecessor-version":[{"id":8320,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2361\/revisions\/8320"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}