{"id":3147,"date":"2021-04-14T11:40:46","date_gmt":"2021-04-14T03:40:46","guid":{"rendered":"https:\/\/www.rotor.com.tw\/?p=3147"},"modified":"2021-04-14T11:40:50","modified_gmt":"2021-04-14T03:40:50","slug":"06-processing%e4%ba%92%e5%8b%95%e8%a8%ad%e8%a8%88-%e7%92%b0%e5%a2%83%e6%ba%96%e5%82%99","status":"publish","type":"post","link":"https:\/\/www.rotor.com.tw\/?p=3147","title":{"rendered":"#06 Processing\u4e92\u52d5\u8a2d\u8a08-\u74b0\u5883\u6e96\u5099"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Processing \u8d77\u6e90<\/h2>\n\n\n\n<p>\u8d77\u6e90\u65bc2001\u5e74MIT\u5a92\u9ad4\u5be6\u9a57\u5ba4<br>Processing\u662f\u4e00\u7a2e\u958b\u653e\u539f\u59cb\u78bc\u7a0b\u5f0f\u8a9e\u8a00<br>\u7d93\u5e38\u7528\u65bc\u96fb\u5b50\u85dd\u8853\u8207\u8996\u89ba\u4e92\u52d5\u8a2d\u8a08\u3002<br>Processing\u7a0b\u5f0f\u5efa\u7acb\u65bcJava\u8a9e\u8a00\u57fa\u790e\u4e4b\u4e0a\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">\u53d6\u5f97Processing<\/h2>\n\n\n\n<ul><li><a href=\"https:\/\/processing.org\/download\/\">Processing \u5b98\u65b9\u7db2\u7ad9\u4e0b\u8f09<\/a><ul><li>https:\/\/processing.org\/download\/<\/li><\/ul><\/li><li>\u6311\u9078\u9069\u5408\u7684\u4f5c\u696d\u7cfb\u7d71\u7248\u672c\u4e0b\u8f09<ul><li>Windows 64-bit \/ 32-bit<\/li><li>Linux 64-bit<\/li><li>Mac OS x<\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u975e\u82f1\u8a9e\u74b0\u5883\u4f7f\u7528\u8a2d\u5b9a\u5efa\u8b70<\/h2>\n\n\n\n<ul><li>\u56e0\u61c9\u4e2d\u6587\u64b0\u5beb\u7a0b\u5f0f\u9700\u6c42<ul><li>\u6587\u4ef6\u2192\u504f\u597d\u8a2d\u5b9a\u2192\u7de8\u8f2f\u5668\u548c\u63a7\u5236\u53f0\u5b57\u9ad4\u2192\u7d30\u660e\u9ad4<\/li><li>\u7de8\u8f2f\u5668\u5b57\u9ad4\u5927\u5c0f\u219214<\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041301.png?ssl=1\"><img decoding=\"async\" loading=\"lazy\" width=\"584\" height=\"225\" src=\"https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041301.png?resize=584%2C225&#038;ssl=1\" alt=\"\" class=\"wp-image-3149\" srcset=\"https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041301.png?w=874&amp;ssl=1 874w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041301.png?resize=300%2C116&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041301.png?resize=768%2C296&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041301.png?resize=500%2C193&amp;ssl=1 500w\" sizes=\"(max-width: 584px) 100vw, 584px\" data-recalc-dims=\"1\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Sketch\u67b6\u69cb<\/h2>\n\n\n\n<p>\u9019\u985e\u578b\u7684\u57f7\u884c\u74b0\u5883\u8207Arduino\u3001Unity3D\u6709\u9ede\u985e\u4f3c\uff0c\u7a0b\u5f0f\u9032\u5165\u57f7\u884c\u4e8b\u4ef6\u53ef\u5206\u70ba\u4ee5\u4e0b<\/p>\n\n\n\n<p><strong>\u7b2c\u4e00\u6b21\u7a0b\u5f0f\u9032\u5165\u5c0d\u61c9\u526f\u7a0b\u5f0f<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\nvoid setup(){\n  \/\/\u4f60\u7684\u7a0b\u5f0f\u5167\u5bb9\n}\n<\/pre><\/div>\n\n\n<p><strong>\u4e0d\u65b7\u91cd\u8907\u57f7\u884c\u5c0d\u61c9\u7684\u526f\u7a0b\u5f0f\uff0c\u76f4\u5230\u7a0b\u5f0f\u751f\u547d\u9031\u671f\u7d50\u675f\u96e2\u958b<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\nvoid draw(){\n  \/\/\u4f60\u7684\u7a0b\u5f0f\u5167\u5bb9\n}\n<\/pre><\/div>\n\n\n<p><strong>\u5176\u4ed6\u5728UI\u63a7\u5236\u5e38\u7528\u4e8b\u4ef6<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\nvoid mousePressed(){\n    \/\/\u7576\u6ed1\u9f20\u89f8\u767c\u7684\u9032\u5165\u9ede\n}\n\nvoid keyPressed(){\n    \/\/\u7576\u9375\u76e4\u6309\u58d3\u89f8\u767c\u7684\u9032\u5165\u9ede\n}\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u958b\u555f\u4e00\u500b\u7bc4\u4f8b<\/h2>\n\n\n\n<p>\u76f4\u63a5\u958b\u555f\u7bc4\u4f8b\uff0c\u6309\u4e0b\u7acb\u5373\u57f7\u884c(1)\uff0c\u7d50\u679c\u7acb\u5373\u986f\u793a(2)\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041302.png?ssl=1\"><img decoding=\"async\" loading=\"lazy\" width=\"584\" height=\"389\" src=\"https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041302.png?resize=584%2C389&#038;ssl=1\" alt=\"\" class=\"wp-image-3152\" srcset=\"https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041302.png?resize=1024%2C682&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041302.png?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041302.png?resize=768%2C512&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041302.png?resize=1536%2C1024&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041302.png?resize=450%2C300&amp;ssl=1 450w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041302.png?w=1688&amp;ssl=1 1688w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041302.png?w=1168&amp;ssl=1 1168w\" sizes=\"(max-width: 584px) 100vw, 584px\" data-recalc-dims=\"1\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041303.png?ssl=1\"><img decoding=\"async\" loading=\"lazy\" width=\"584\" height=\"476\" src=\"https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041303.png?resize=584%2C476&#038;ssl=1\" alt=\"\" class=\"wp-image-3153\" srcset=\"https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041303.png?resize=1024%2C835&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041303.png?resize=300%2C245&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041303.png?resize=768%2C626&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041303.png?resize=368%2C300&amp;ssl=1 368w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041303.png?w=1370&amp;ssl=1 1370w, https:\/\/i0.wp.com\/www.rotor.com.tw\/wp-content\/uploads\/2021\/04\/2021041303.png?w=1168&amp;ssl=1 1168w\" sizes=\"(max-width: 584px) 100vw, 584px\" data-recalc-dims=\"1\" \/><\/a><\/figure>\n\n\n\n<p>\u4ee5\u4e0a\u662fProcessing \u7684\u74b0\u5883\u6e96\u5099\u4ecb\u7d39\uff0c\u5f8c\u7e8c\u5c07\u9032\u5165\u958b\u767c\u8a2d\u8a08\u7684\u5167\u5bb9\u8aaa\u660e\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u76f8\u95dc\u53c3\u8003\u6587\u737b<\/h2>\n\n\n\n<ul><li><a href=\"https:\/\/processing.org\/\">Processing \u5b98\u7db2API\u8aaa\u660e<\/a><ul><li>\u8209\u51e1Processing \u7a0b\u5f0f\u51fd\u6578\u8aaa\u660e\u3001\u7269\u4ef6\u6a21\u578b\u7686\u53ef\u53c3\u8003\u3002<\/li><\/ul><\/li><li><a href=\"http:\/\/140.129.118.16\/~richwang\/100-1-Courses\/Processing%20Tutorial%20(cht).pdf\">Processing \u57fa\u790e\u6559\u5b78-\u4e00\u5c0f\u6642\u5feb\u901f\u5165\u9580<\/a><ul><li>\u8a73\u7d30\u6559\u5b78\u6587\u4ef6\uff0c\u63a8\u85a6\u95b1\u8b80\u3002<\/li><\/ul><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Processing \u8d77\u6e90 \u8d77\u6e90\u65bc2001\u5e74MIT\u5a92\u9ad4\u5be6\u9a57\u5ba4Processing &hellip; <a href=\"https:\/\/www.rotor.com.tw\/?p=3147\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false},"categories":[57],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/3147"}],"collection":[{"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3147"}],"version-history":[{"count":8,"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/3147\/revisions"}],"predecessor-version":[{"id":3158,"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/3147\/revisions\/3158"}],"wp:attachment":[{"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rotor.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}