{"id":2545,"date":"2010-03-19T12:24:31","date_gmt":"2010-03-19T12:24:31","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2010\/03\/19\/pollock-modern-art-from-your-mouse\/"},"modified":"2010-03-19T12:24:31","modified_gmt":"2010-03-19T12:24:31","slug":"pollock-modern-art-from-your-mouse","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2010\/03\/19\/pollock-modern-art-from-your-mouse\/","title":{"rendered":"Pollock: Modern Art from Your Mouse"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <introduction><\/introduction>\r\n   <p><a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/911\">Brett<\/a>'s Pick this week is <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/20567-pollock\">Pollock<\/a>, by <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/31309\">James Roberts<\/a>.\r\n   <\/p>\r\n   <p><a href=\"http:\/\/en.wikipedia.org\/wiki\/Jackson_pollock\">Jackson Pollock<\/a> (1912--1956) was a major figure in the artistic genre of abstract expressionism, perhaps best known for his \"drip\" style\r\n      of painting. Pollock used a variety of tools (sticks, brushes, assorted applicators) to drip and splatter paint on his canvases.\r\n      One has to think that he would have smiled had he had the opportunity to try out James's \"Pollock\" function.\r\n   <\/p>\r\n   <p>James writes that his function allows one to \"Paint like Jackson Pollock in MATLAB.\" In the \"just-for-fun\" vein, James's program\r\n      allows one to create splattered \"canvasses\" in a MATLAB Figure Window. Simply issue the \"pollock\" command, and drag your cursor\r\n      across the screen--quickly to create small splatters, slowly to create large drips.\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/pick\/..\/images\/pick\/pollock_img.png\"> <\/p>\r\n   <p>I can't think of any utility for this program, but that's exactly why I like it. It's frivolous fun for all!<\/p>\r\n   <p><a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=2545#respond\">Comments?<\/a><\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_f905958d1bb24cdebc395292d0be82b5() {\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='f905958d1bb24cdebc395292d0be82b5 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' f905958d1bb24cdebc395292d0be82b5';\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 = 'Brett Shoelson';\r\n        copyright = 'Copyright 2010 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_f905958d1bb24cdebc395292d0be82b5()\"><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.10<br><\/p>\r\n<\/div>\r\n<!--\r\nf905958d1bb24cdebc395292d0be82b5 ##### SOURCE BEGIN #####\r\n%% Pollock: Modern Art from Your Mouse\r\n%% \r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/911 Brett>'s Pick this week is\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/20567-pollock Pollock>, by\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/authors\/31309 James Roberts>.\r\n\r\n%%\r\n% <http:\/\/en.wikipedia.org\/wiki\/Jackson_pollock Jackson Pollock>\r\n% (1912REPLACE_WITH_DASH_DASH1956) was a major figure in the artistic genre of abstract\r\n% expressionism, perhaps best known for his \"drip\" style of painting.\r\n% Pollock used a variety of tools (sticks, brushes, assorted applicators) to drip\r\n% and splatter paint on his canvases. One has to think that he would have\r\n% smiled had he had the opportunity to try out James's \"Pollock\" function.\r\n\r\n%%\r\n% James\r\n% writes that his function allows one to \"Paint like Jackson Pollock in\r\n% MATLAB.\" In the \"just-for-fun\" vein, James's program allows one to create\r\n% splattered \"canvasses\" in a MATLAB Figure Window. Simply issue the\r\n% \"pollock\" command, and drag your cursor across the screenREPLACE_WITH_DASH_DASHquickly to\r\n% create small splatters, slowly to create large drips.\r\n\r\n%%\r\n% \r\n% <<https:\/\/blogs.mathworks.com\/pick\/..\/images\/pick\/pollock_img.png>>\r\n% \r\n\r\n%%\r\n% I can't think of any utility for this program, but that's exactly why I\r\n% like it. It's frivolous fun for all!\r\n\r\n%%\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=2545#respond Comments?>\r\n##### SOURCE END ##### f905958d1bb24cdebc395292d0be82b5\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   \r\n   Brett's Pick this week is Pollock, by James Roberts.\r\n   \r\n   Jackson Pollock (1912--1956) was a major figure in the artistic genre of abstract expressionism, perhaps best known for his... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2010\/03\/19\/pollock-modern-art-from-your-mouse\/\">read more >><\/a><\/p>","protected":false},"author":34,"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\/2545"}],"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\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=2545"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2545\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}