{"id":10349,"date":"2018-12-16T23:39:14","date_gmt":"2018-12-17T04:39:14","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=10349"},"modified":"2020-07-07T22:15:02","modified_gmt":"2020-07-08T02:15:02","slug":"lets-draw-spider-man","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2018\/12\/16\/lets-draw-spider-man\/","title":{"rendered":"Let&#8217;s draw Spider-Man!"},"content":{"rendered":"<div class=\"content\"><p><a href=\"http:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/869871\">Jiro<\/a>&#8216;s pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/69731\">Let&#8217;s draw Spider-Man!<\/a> by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/8300336\">Ikumi Takemura<\/a>.<\/p><p>Recently, in the last couple of years, we have been hiring <a href=\"https:\/\/www.mathworks.com\/academia\/students\/student-ambassadors.html\">MATLAB Student Ambassadors<\/a> at some universities. Their purpose is to help spread the word of MATLAB and increase usage on campus. They organize and coordinate various events and activities to promote the use of MATLAB.<\/p><p>In Japan, we hired our first student ambassador, Ikumi, at <a href=\"https:\/\/www.keio.ac.jp\/ja\/\">Keio University<\/a>, and he held a one and a half hour MATLAB Onramp party and invited students to learn about MATLAB, try out <a href=\"https:\/\/www.mathworks.com\/learn\/tutorials\/matlab-onramp.html\">MATLAB Onramp<\/a>, and participate in a contest. Over 30 students ranging from freshman to doctorate students came to the event.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_spiderman\/onramp_party.jpg\" alt=\"\"> <\/p><p>The contest was to see who could draw the best Spider-Man in MATLAB. Even with a very short time limit (since they also completed some problem sets from MATLAB Onramp), a few students were able to make an attempt. Lots of circles, but I think they are all fantastic attempts. Someone even used the <a href=\"https:\/\/www.mathworks.com\/help\/matlab\/ref\/sphere.html\"><tt>sphere<\/tt><\/a> command.<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_spiderman\/spiderman_contest.jpg\" alt=\"\"> <\/p><p>The right-most one is the one by Ikumi, and that&#8217;s the Pick for this week. It&#8217;s nicely written, and you can see how he draws arcs with varying center points in a loop to draw the web pattern.<\/p><p><b>Comments<\/b><\/p><p>There are a couple of Batman File Exchange entries, and now you have Spider-Man. What other super heroes can you draw? Give it a try and let us know what you think <a href=\"http:\/\/blogs.mathworks.com\/pick\/?p=10349#respond\">here<\/a> or leave a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/69731#comment\">comment<\/a> for Ikumi.<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_5c88efe6278b45d194449932aa9c3005() {\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='5c88efe6278b45d194449932aa9c3005 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 5c88efe6278b45d194449932aa9c3005';\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        copyright = 'Copyright 2018 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 copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\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     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_5c88efe6278b45d194449932aa9c3005()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2018b<br><\/p><p class=\"footer\"><br>\r\n      Published with MATLAB&reg; R2018b<br><\/p><\/div><!--\r\n5c88efe6278b45d194449932aa9c3005 ##### SOURCE BEGIN #####\r\n%%\r\n% <http:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/869871 Jiro>'s\r\n% pick this week is\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/69731 Let's draw\r\n% Spider-Man!> by\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/8300336 Ikumi\r\n% Takemura>.\r\n%\r\n% Recently, in the last couple of years, we have been hiring\r\n% <https:\/\/www.mathworks.com\/academia\/students\/student-ambassadors.html\r\n% MATLAB Student Ambassadors> at some universities. Their purpose is to\r\n% help spread the word of MATLAB and increase usage on campus. They\r\n% organize and coordinate various events and activities to promote the use\r\n% of MATLAB.\r\n%\r\n% In Japan, we hired our first student ambassador, Ikumi, at\r\n% <https:\/\/www.keio.ac.jp\/ja\/ Keio University>, and he held a one and a\r\n% half hour MATLAB Onramp party and invited students to learn about MATLAB,\r\n% try out <https:\/\/www.mathworks.com\/learn\/tutorials\/matlab-onramp.html\r\n% MATLAB Onramp>, and participate in a contest. Over 30 students ranging\r\n% from freshman to doctorate students came to the event.\r\n%\r\n% <<onramp_party.jpg>>\r\n%\r\n% The contest was to see who could draw the best Spider-Man in MATLAB. Even\r\n% with a very short time limit (since they also completed some problem sets\r\n% from MATLAB Onramp), a few students were able to make an attempt. Lots of\r\n% circles, but I think they are all fantastic attempts. Someone even used\r\n% the <https:\/\/www.mathworks.com\/help\/matlab\/ref\/sphere.html |sphere|>\r\n% command.\r\n%\r\n% <<spiderman_contest.jpg>>\r\n%\r\n% The right-most one is the one by Ikumi, and that's the Pick for this\r\n% week. It's nicely written, and you can see how he draws arcs with varying\r\n% center points in a loop to draw the web pattern.\r\n%\r\n% *Comments*\r\n%\r\n% There are a couple of Batman File Exchange entries, and now you have\r\n% Spider-Man. What other super heroes can you draw? Give it a try and let\r\n% us know what you think <http:\/\/blogs.mathworks.com\/pick\/?p=10349#respond\r\n% here> or leave a\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/69731#comment\r\n% comment> for Ikumi.\r\n\r\n##### SOURCE END ##### 5c88efe6278b45d194449932aa9c3005\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/images\/pick\/jiro\/potw_spiderman\/onramp_party.jpg\" onError=\"this.style.display ='none';\" \/><\/div><p>Jiro&#8216;s pick this week is Let&#8217;s draw Spider-Man! by Ikumi Takemura.Recently, in the last couple of years, we have been hiring MATLAB Student Ambassadors at some universities. Their purpose&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2018\/12\/16\/lets-draw-spider-man\/\">read more >><\/a><\/p>","protected":false},"author":35,"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\/10349"}],"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\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=10349"}],"version-history":[{"count":4,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/10349\/revisions"}],"predecessor-version":[{"id":10357,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/10349\/revisions\/10357"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=10349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=10349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=10349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}