{"id":1611,"date":"2007-03-18T18:05:05","date_gmt":"2007-03-18T09:05:05","guid":{"rendered":"http:\/\/r-dimension.xsrv.jp\/classes_j\/?p=1611"},"modified":"2011-05-03T02:38:37","modified_gmt":"2011-05-02T17:38:37","slug":"ex_program1_2","status":"publish","type":"post","link":"https:\/\/r-dimension.xsrv.jp\/classes_j\/ex_program1_2\/","title":{"rendered":"processing\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9 &#8211; Expressive Programming"},"content":{"rendered":"<h2>Processing Development Environment (PDE)<\/h2>\n<p>Processing Development Environment\u306f\u3001\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u305f\u3081\u306e\u7c21\u5358\u306a\u30a8\u30c7\u30a3\u30bf\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u30a8\u30ea\u30a2\u3001\u30c6\u30ad\u30b9\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u7ba1\u7406\u306e\u305f\u3081\u306e\u30bf\u30d6\u3001\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u30dc\u30bf\u30f3\u306b\u3057\u305f\u30c4\u30fc\u30eb\u30d0\u30fc\u3001\u30e1\u30cb\u30e5\u30fc\u306b\u3088\u3063\u3066\u69cb\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b9f\u884c\u3055\u308c\u305f\u969b\u306b\u306f\u3001\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30a6\u30a3\u30f3\u30c9\u30a6\u3068\u547c\u3070\u308c\u308b\u65b0\u3057\u3044\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u958b\u304d\u307e\u3059\u3002<\/p>\n<p><img src='http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2007\/03\/ide.gif' alt='ide.gif' \/><\/p>\n<p>Processing\u3092\u4f7f\u3063\u3066\u4f5c\u3089\u308c\u305f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306f<strong>\u30b9\u30b1\u30c3\u30c1<\/strong>\u3068\u3044\u3044\u307e\u3059\u3002\u30b9\u30b1\u30c3\u30c1\u306f\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u306e\u4e2d\u3067\u8a18\u8ff0\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u4e2d\u3067\u30c6\u30ad\u30b9\u30c8\u306b\u5bfe\u3057\u30ab\u30c3\u30c8\uff0f\u30da\u30fc\u30b9\u30c8\u3001\u691c\u7d22\uff0f\u7f6e\u304d\u63db\u3048\u306a\u3069\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u30e1\u30c3\u30bb\u30fc\u30b8\u30a8\u30ea\u30a2\u306f\u3001\u4fdd\u5b58\u3001\u66f8\u304d\u51fa\u3057\u3001\u30a8\u30e9\u30fc\u306e\u7d50\u679c\u3092\u8868\u793a\u3057\u307e\u3059\u3002<br \/>\n\u30b3\u30f3\u30bd\u30fc\u30eb\u306f\u3001\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3001print()\u3001println()\u3068\u3044\u3063\u305f\u95a2\u6570\u3068\u3044\u3063\u305fProcessing\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30c6\u30ad\u30b9\u30c8\u3067\u8868\u793a\u3057\u307e\u3059\u3002<br \/>\n\u30c4\u30fc\u30eb\u30d0\u30fc\u30dc\u30bf\u30f3\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u3001\u4e2d\u6b62\u3001\u65b0\u898f\u30b9\u30b1\u30c3\u30c1\u306e\u4f5c\u6210\u3001\u3084\u305d\u308c\u3092\u958b\u3044\u305f\u308a\u4fdd\u5b58\u3057\u305f\u308a\u66f8\u304d\u51fa\u3057\u305f\u308a\u3068\u3044\u3063\u305f\u6a5f\u80fd\u3092\u305d\u308d\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p><img src='http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2007\/03\/play.gif' alt='play.gif' \/>\u3000<strong>Run<\/strong>\u3000&#8212;&gt;\u3000\u30b3\u30fc\u30c9\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3001\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304d\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3059\u308b\u3002<br \/>\n<img src='http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2007\/03\/stop.gif' alt='stop.gif' \/>\u3000<strong>Stop<\/strong>\u3000&#8212;&gt;\u3000\u5b9f\u884c\u4e2d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4e2d\u6b62\u3059\u308b\u304c\u3001\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30a6\u30a3\u30f3\u30c9\u30a6\u306f\u9589\u3058\u306a\u3044\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2007\/03\/new.gif\" \/ alt=\"new.gif\" \/>\u3000<strong>New<\/strong>\u3000&#8212;&gt;\u3000\u65b0\u3057\u3044\u30b9\u30b1\u30c3\u30c1\u3092\u4f5c\u308b\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2007\/03\/open.gif\" \/ alt=\"open.gif\"\/>\u3000<strong>Open<\/strong>\u3000&#8212;&gt;\u3000\u30b9\u30b1\u30c3\u30c1\u30d6\u30c3\u30af\u3092\u958b\u304f\u305f\u3081\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8868\u793a\u3057\u3001\u30b5\u30f3\u30d7\u30eb\u3001\u3082\u3057\u304f\u306f\u81ea\u5206\u304c\u4f5c\u3063\u305f\u30b9\u30b1\u30c3\u30c1\u3092\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u4e2d\u306e\u3069\u3053\u304b\u3089\u3067\u3082\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2007\/03\/save.gif\" \/ alt=\"save.gif\"\/>\u3000<strong>Save<\/strong>\u3000&#8212;&gt;\u3000\u4f5c\u696d\u4e2d\u306e\u30b9\u30b1\u30c3\u30c1\u3092\u3001\u65e2\u306b\u3042\u308b\u5834\u6240\u306b\u4e0a\u66f8\u304d\u4fdd\u5b58\u3059\u308b\u3002\u3082\u3057\u9055\u3046\u540d\u524d\u306b\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001&#8221;Save As&#8221;\u3092File menu\u304b\u3089\u9078\u3076\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2007\/03\/export.gif\" \/ alt=\"export.gif\"\/>\u3000<strong>Export<\/strong>\u3000&#8212;&gt;\u3000\u4f5c\u696d\u4e2d\u306e\u30b9\u30b1\u30c3\u30c1\u3092\u3001HTML\u30d5\u30a1\u30a4\u30eb\u306e\u57cb\u3081\u8fbc\u307e\u308c\u305fJava\u30a2\u30d7\u30ec\u30c3\u30c8\u3068\u3057\u3066\u66f8\u304d\u51fa\u3059\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u4e0b\u306e6\u3064\u306e\u30e1\u30cb\u30e5\u30fc\u306e\u4e2d\u306b\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067\u306f\u3001\u4e00\u822c\u7684\u306a\u30b3\u30de\u30f3\u30c9\u306e\u8aac\u660e\u306f\u7701\u304d\u3001\u89e3\u8aac\u304c\u5fc5\u8981\u306a\u30b3\u30de\u30f3\u30c9\u306e\u307f\u4f7f\u3044\u65b9\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n<h2>Processing\u30e1\u30cb\u30e5\u30fc<\/h2>\n<p><strong>* \u74b0\u5883\u8a2d\u5b9a&#8230; <\/strong>(Ctrl+,)<br \/>\n\u57fa\u672c\u7684\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u74b0\u5883\u306e\u8a2d\u5b9a\u3092\u884c\u306a\u3046\u3002windows\u306e\u5834\u5408\u306fFile\u30e1\u30cb\u30e5\u30fc\u306e\u4e2d\u306b\u3042\u308b\u3002<\/p>\n<h2>File\u30e1\u30cb\u30e5\u30fc<\/h2>\n<p><strong>* Save <\/strong>(Ctrl+S)<br \/>\n\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u3002\u6c17\u3092\u3064\u3051\u305f\u3044\u306e\u306f\u3001\u65b0\u898f\u4f5c\u6210\u3057\u305f\u30b9\u30b1\u30c3\u30c1\u306f&#8221;sketch_YYMMDDa&#8221;\u306e\u3088\u3046\u306b\u65e5\u4ed8\u304c\u5165\u3063\u3066\u3044\u308b\u3060\u3051\u306e\u3082\u306e\u306a\u306e\u3067\u3001\u540d\u524d\u3092\u5909\u3048\u308b\u5834\u5408\u306b\u306fSave as&#8230;\u3092\u4f7f\u3046\u3002<\/p>\n<p><strong>* Save as&#8230; <\/strong>(Ctrl+Shift+S)<br \/>\n\u4e0a\u8a18\u306e\u8aac\u660e\u306e\u3088\u3046\u306b\u3001\u540d\u524d\u3092\u3064\u3051\u3066\u4fdd\u5b58\u3057\u305f\u3044\u5834\u5408\u3084\u3001\u5225\u306e\u5834\u6240\u306b\u4fdd\u5b58\u3057\u305f\u3044\u5834\u5408\u306b\u9078\u629e\u3059\u308b\u3002<\/p>\n<p><strong>* Export <\/strong>(Ctrl+E)<br \/>\n\u4f5c\u696d\u4e2d\u306e\u30b9\u30b1\u30c3\u30c1\u3092\u3001HTML\u30d5\u30a1\u30a4\u30eb\u306e\u57cb\u3081\u8fbc\u307e\u308c\u305fJava\u30a2\u30d7\u30ec\u30c3\u30c8\u3068\u3057\u3066\u66f8\u304d\u51fa\u3059\u3002\u66f8\u304d\u51fa\u3057\u305f\u5f8c\u306b\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u3092\u958b\u304f\u3002<\/p>\n<p><strong>* Export Application <\/strong>(Ctrl+Shift+E)<br \/>\nJava\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u66f8\u304d\u51fa\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u30a2\u30d7\u30ec\u30c3\u30c8\u3068\u9055\u3044\u3001\u305d\u308c\u306e\u307f\u304c\u5358\u4f53\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3068\u3057\u3066\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u3001\u30d7\u30e9\u30a6\u30b6\u3067\u898b\u308b\u5fc5\u8981\u306f\u306a\u3044\u3002<\/p>\n<h2>Edit\u30e1\u30cb\u30e5\u30fc<\/h2>\n<p><strong>* Undo (Ctrl+Z)<\/strong><br \/>\n\u884c\u306a\u3063\u305f\u4f5c\u696d\u3092\u5143\u306b\u623b\u3059\u3002<\/p>\n<p><strong>* Redo <\/strong>(Ctrl+Y)<br \/>\nUndo\u3067\u623b\u3057\u305f\u3082\u306e\u3092\u3082\u3046\u4e00\u5ea6\u3084\u308a\u76f4\u3059\u3002<\/p>\n<p><strong>* Find <\/strong>(Ctrl+F)<br \/>\n\u30c6\u30ad\u30b9\u30c8\u3092\u691c\u7d22\u3057\u3001\u5fc5\u8981\u306a\u5834\u5408\u306b\u306f\u7f6e\u63db\u3082\u884c\u306a\u3048\u308b\u3002<\/p>\n<p><strong>Find Next <\/strong>(Ctrl+G)<br \/>\n\u6b21\u306e\u5019\u88dc\u3092\u9078\u629e\u3059\u308b\u3002<\/p>\n<h2>Sketch\u30e1\u30cb\u30e5\u30fc<\/h2>\n<p><strong>* Run <\/strong>(Ctrl+R)<br \/>\n\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<p><strong>* Present <\/strong>(Ctrl+Shift+R)<br \/>\n\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b9\u30af\u30ea\u30fc\u30f3\u306e\u4e2d\u5fc3\u3067\u8868\u793a\u3055\u305b\u3066\u5b9f\u884c\u3059\u308b\u3002\u3053\u306e\u6642\u3001\u80cc\u666f\u306f\u30b0\u30ec\u30fc\u306b\u306a\u308b\u3002<br \/>\n\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u5408\u306f\u3053\u306e\u30e2\u30fc\u30c9\u3092\u9078\u629e\u3059\u308b\u3002<\/p>\n<p><strong>* Import Library<\/strong><br \/>\n\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30b9\u30b1\u30c3\u30c1\u306b\u3059\u3044\u304b\u3059\u308b\u3002\u4f8b\u3048\u3070\u3001Sketch &#187; Import Library &#187; video\u3092\u9078\u3076\u3068\u3001<br \/>\n&#8220;import processing.video.*;&#8221;\u3068\u3044\u3046\u30b3\u30fc\u30c9\u304c\u30b9\u30b1\u30c3\u30c1\u306e\u4e00\u756a\u4e0a\u306b\u8ffd\u52a0\u3055\u308c\u308b\u3002<\/p>\n<p><strong>* Show Sketch Folder<\/strong><br \/>\n\u4f5c\u696d\u4e2d\u306e\u30b9\u30b1\u30c3\u30c1\u304c\u3042\u308b\u30d5\u30a9\u30eb\u30c0\u5185\u90e8\u3092\u8868\u793a\u3059\u308b\u3002<\/p>\n<p><strong>* Add File&#8230;<\/strong><br \/>\n\u753b\u50cf\u3001\u30d5\u30a9\u30f3\u30c8\u3001\u30d5\u30a1\u30a4\u30eb\u3092&#8221;data&#8221;\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<h2>Tools<\/h2>\n<p><strong>* Auto Format <\/strong>(Ctrl-T)<br \/>\n\u81ea\u52d5\u7684\u306b\u30b3\u30fc\u30c9\u306e\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u6574\u7406\u3059\u308b\u3002\u3053\u306e\u6a5f\u80fd\u306f\u3001\u30b3\u30e1\u30f3\u30c8\u7b49\u304c\u5165\u3063\u3066\u3044\u308b\u3068\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u306a\u3044\u5834\u5408\u304c\u591a\u3044\u3002<\/p>\n<p><strong>* Create Font&#8230;<\/strong><br \/>\n\u30d5\u30a9\u30f3\u30c8\u3092Processing\u30d5\u30a9\u30f3\u30c8\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u5909\u63db\u3057\u3001\u4f5c\u696d\u4e2d\u306e\u30b9\u30b1\u30c3\u30c1\u306b\u8ffd\u52a0\u3059\u308b\u3002<br \/>\nProcessing\u30d5\u30a9\u30f3\u30c8\u306f\u30c6\u30af\u30b9\u30c1\u30e3\u30fc\u306a\u306e\u3067\u3001\u30d5\u30a9\u30f3\u30c8\u306e\u30b5\u30a4\u30ba\u3092\u5927\u304d\u304f\u3059\u308c\u3070\u3059\u308b\u307b\u3069\u753b\u50cf\u30c7\u30fc\u30bf\u306f\u5897\u3048\u308b\u3002<\/p>\n<p><strong>* Copy for Discourse<\/strong><br \/>\n<a href=\"http:\/\/processing.org\/discourse\/yabb_beta\/YaBB.cgi\" target=\"_blank\">Discourse<\/a>\uff08\u958b\u767a\u7528\u30d5\u30a9\u30fc\u30e9\u30e0\u3001\u82f1\u8a9e\uff09\u306b\u6295\u7a3f\u3057\u305f\u3068\u304d\u306b\u3001\u30b3\u30fc\u30c9\u3092\u753b\u9762\u4e0a\u3067\u540c\u3058\u3088\u3046\u306b\u8868\u793a\u3055\u305b\u308b\u305f\u3081\u306e\u6a5f\u80fd\u3002<br \/>\n\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u9078\u3076\u3068\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u3001\u6b21\u306bDiscourse\u306e\u6295\u7a3f\u753b\u9762\u306b\u30da\u30fc\u30b9\u3068\u3059\u308c\u3070OK\u3002<br \/>\n\u30d5\u30a9\u30fc\u30e9\u30e0\u3092\u4f7f\u3044\u305f\u3044\u4eba\u4ee5\u5916\u306b\u306f\u5fc5\u8981\u306a\u3044\u6a5f\u80fd\u3002<\/p>\n<p><strong>* Archive Sketch<\/strong><br \/>\nzip\u5727\u7e2e\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308b\u3002\u30b9\u30b1\u30c3\u30c1\u3068\u540c\u3058\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u4f5c\u3089\u308c\u308b\u3002<\/p>\n<h2>Help\u30e1\u30cb\u30e5\u30fc<\/h2>\n<p><strong>* Getting Started<\/strong><br \/>\nProcessing\u4f7f\u7528\u6cd5\u30da\u30fc\u30b8\u304c\u7acb\u3061\u4e0a\u304c\u308b\u3002<\/p>\n<p><strong>* Troubleshooting<\/strong><br \/>\n\u30d0\u30b0\u306e\u5bfe\u51e6\u6cd5\u306a\u3069\u304c\u8a18\u8f09\u3055\u308c\u305f\u30da\u30fc\u30b8\u3002<\/p>\n<p><strong>* Reference<\/strong><br \/>\n\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff08\u89e3\u8aac\uff09\u30da\u30fc\u30b8\u3092\u958b\u304f\u3002<\/p>\n<p><strong>* Find in Reference <\/strong>(Ctrl+Shift+F)<br \/>\n\u81ea\u5206\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u3067\u77e5\u308a\u305f\u3044\u540d\u524d\u3092\u9078\u629e\u3057\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u305d\u306e\u89e3\u8aac\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\uff08\u7d50\u69cb\u4fbf\u5229\uff09\u3002\u3053\u306e\u52d5\u4f5c\u306f\u53f3\u30af\u30ea\u30c3\u30af\u304b\u3089\u3082\u9078\u629e\u3067\u304d\u308b\u3002<\/p>\n<p><strong>* Frequently Asked Questions<\/strong><br \/>\n\u57fa\u672c\u7684\u306a\u8cea\u554f\u306e\u56de\u7b54\u30da\u30fc\u30b8\u3002<\/p>\n<h2>\u5ea7\u6a19<\/h2>\n<p>Processing\u306e\u5ea7\u6a19\u306e\u8d77\u70b9\u306f\u5de6\u4e0a\u306e\u30b3\u30fc\u30ca\u30fc\u3067\u3059\u3002<br \/>\n\u4e0b\u306e\u56f3\u3092\u53c2\u7167\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p><img src='http:\/\/r-dimension.xsrv.jp\/classes_j\/wp-content\/uploads\/2007\/03\/coordinates.gif' alt='coordinates.gif' \/><\/p>\n<h2>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e2\u30fc\u30c9<\/h2>\n<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e2\u30fc\u30c9\u306fBasic\u3001Continuous\u3001Java\u306e3\u7a2e\u985e\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u30b5\u30f3\u30d7\u30eb\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<h3>Basic<\/h3>\n<p>\u3053\u306e\u30e2\u30fc\u30c9\u306f\u3001\u4e00\u5ea6\u3060\u3051\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre lang=\"java\" line=\"1\">\r\nsize(200, 200);\r\nbackground(255);\r\nnoStroke();\r\nfill(255, 204, 0);\r\nrect(30, 20, 50, 50);<\/pre>\n<h3>Continuous\uff08\u30eb\u30fc\u30d7\uff09<\/h3>\n<p>\u3053\u306e\u30e2\u30fc\u30c9\u306fProcessing\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u4e2d\u3067\u4e00\u756a\u3088\u304f\u4f7f\u308f\u308c\u308b\u3082\u306e\u3067\u3057\u3087\u3046\u3002<br \/>\nsetup()\u3067\u521d\u671f\u5316\u3057\u3001draw()\u3092\u7e70\u308a\u8fd4\u3057\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<pre><pre lang=\"java\" line=\"1\">\r\nvoid setup()\r\n{\r\n  size(200, 200);\r\n  rectMode(CENTER);\r\n  noStroke();\r\n  fill(0, 102, 153, 204);\r\n}\r\nvoid draw()\r\n{\r\n  background(255);\r\n  rect(width-mouseX, height-mouseY, 50, 50);\r\n  rect(mouseX, mouseY, 50, 50);\r\n}<\/pre>\n<h3>Java<\/h3>\n<p>\u3053\u306e\u30e2\u30fc\u30c9\u306f\u672c\u6765\u306eJava\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u4e00\u756a\u8fd1\u3044\u30e2\u30fc\u30c9\u3067\u3059\u3002\u3088\u3063\u3066\u3001\u4e00\u756a\u67d4\u8edf\u306a\u30e2\u30fc\u30c9\u3067\u3059\u3002<br \/>\n\u3057\u304b\u3057\u3001\u3053\u306e\u30e2\u30fc\u30c9\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u307b\u3068\u3093\u3069\u898b\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u3053\u306e\u30e2\u30fc\u30c9\u3067\u66f8\u304f\u3093\u306a\u3089\u666e\u901a\u306bJava\u3067\u66f8\u3051\u3063\u3066\u3044\u3046\u3053\u3068\u3067\u3057\u3087\u3046\u306d\u3002<\/p>\n<pre lang=\"java\" line=\"1\">\r\npublic class MyDemo extends PApplet {\r\n  void setup()\r\n  {\r\n    size(200, 200);\r\n    rectMode(CENTER);\r\n    noStroke();\r\n    fill(0, 102, 153, 204);\r\n  }\r\n  void draw()\r\n  {\r\n    background(255);\r\n    rect(width-mouseX, height-mouseY, 50, 50);\r\n    rect(mouseX, mouseY, 50, 50);\r\n  }\r\n}<\/pre>\n<p>\u6ce8\uff1a\u3053\u306e\u30da\u30fc\u30b8\u306f\u3001processing.org\u306e<a href=\"http:\/\/processing.org\/reference\/environment\/index.html\" target=\"_blank\">Environment<\/a>\u30da\u30fc\u30b8\u3092\u53c2\u8003\u306b\u66f8\u304d\u307e\u3057\u305f\u304c\u5b8c\u5168\u306a\u8a33\u3067\u306f\u306a\u304f\u610f\u8a33\u3067\u3042\u308a\u3001\u629c\u7c8b\u3060\u3051\u3092\u8f09\u305b\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Processing Development Environ&#8230; <a href=\"https:\/\/r-dimension.xsrv.jp\/classes_j\/ex_program1_2\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,11],"tags":[],"class_list":["post-1611","post","type-post","status-publish","format-standard","hentry","category-processing","category-11"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/posts\/1611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/comments?post=1611"}],"version-history":[{"count":3,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/posts\/1611\/revisions"}],"predecessor-version":[{"id":2499,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/posts\/1611\/revisions\/2499"}],"wp:attachment":[{"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/media?parent=1611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/categories?post=1611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/r-dimension.xsrv.jp\/classes_j\/wp-json\/wp\/v2\/tags?post=1611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}