ã¯ããã«
ãèªåã®çµå©å¼ã§å¼ã¨2次ä¼ä¸¡æ¹åããã¦9æ¬ã®åç»ãæµããã¨ããäºæ³å¤ã®äºæ
ãçºçããããã§ããã6æ¬ã¯èªåã®ã§ãããæ£ç¢ºã«ã¯1ã¤ã¯ä½¿ãåãã§1ã¤ã¯ãã¼ã¸ã§ã³éããªã®ã§ã4.5æ¬ãããã§ãããããè¥å¹²ããéãã ã£ãã®ããããã¾ããã
ãå¼ã®å¾ãä½äººããããåç»ã©ããã£ã¦ä½ã£ãã®ï¼ãã¨èããã¦ãæ£ç´ã«ãã»ã¨ãã©Macæ¨æºã½ããã®iMovieã¨èªä½ããã°ã©ã ã ãã¼ãã¨è¨ãã¨ããã£ï¼ä½è¨ã£ã¦ãã®ãã®äººãã¨ããé¡ãããã¾ãããã¾ããããªããï¼ï¼ï¼ã§ãã²ãã£ã¨ãããéè¦ãããããã¨æããã¦ãã¦ã¨ãããä½ãæ¹ã§ãå
¬éããããã¨æãã¾ãã
ããããªã¿ã¤ãã«ãã¤ãã¦ãããªãããæåçãªåç»ä½ãããã¯ä¸åä¿è¨¼ã§ãã¾ããããä½ãããåç»ã®ã¤ã¡ã¼ã¸ããããã©å®ç¾æ段ãããããªããã¼ã¨ãã人ã®å©ãã«ãªãããããã¾ããã
Processingã®èª¬æã¨æºå
ãMITã§ä½ãããããã°ã©ã è¨èªãã¨ã«ããç°¡åã«æ åãåç»ãæ±ããã¨ãã§ãããæ軽è¨èªãããã°ã©ã ã¨ãããåãããªãã¨ãã人ã§ãã§ããâ¦ãããä¸ã®ãã¼ã¸ããVersing 1.5.1ãè½ã¨ãã¦ä¸ããï¼Stable Releasesã¨ãããã¤ï¼ãåºæ¬1.5.1ããã¼ã¹ã«èª¬æããã®ã§ãæ°ããæ¹ãããã ãã¨2.0ãè½ã¨ããªããã注æãã¦ä¸ãããï¼ããã°ã©ã ãã®ã¾ã¾ã ã¨åããªãã§ãï¼ã
Download \ Processing.org
ããã«ããã©ãããã©ã¼ã ãªã®ã§Windowsã§ãLinuxã§ãMacã§ãåãã¾ãããã¦ã³ãã¼ããããåºæ¬ããåãã¾ãããã¾ãè¡ããªã人ã¯ã°ã¼ã°ã«å
çã«ãProcessing ã¤ã³ã¹ãã¼ã« åå¿è
ãã¨ãèãã¦ã¿ãããâ親åãªäººãè²ã
ãã¥ã¼ããªã¢ã«ããã¦ããã¦ããã¯ãã§ãã人ã®ããããã«æè¬ã ãï¼ãã£ï¼è¦ã¤ãããªãï¼äººã£ã¦éãçãç©ã ããï¼ï¼
ãããã¤ã使ãã¨ããããªåç»ãåç»ã¨ãã§ã¯ããå®ç¾ã§ããã®ãï¼
16é²æ°ã«ã¦ã³ããã¦ã³
ãã§ã¯æ©éããã°ã©ã ãã¦ã¿ã¾ããããæåã¯åç»ã«ããããã«ã¦ã³ããã¦ã³ã§ããã«ã¦ã³ããã¦ã³ã®ç´ æã¯æ¤ç´¢ããã°è²ã
ã·ã£ã¬ãªãï¼æ»èªï¼ãªåç»ãåºã¦ãããããã®ã§ããã16é²æ°ã§0xFFããã«ã¦ã³ããã¦ã³ãã¦0x0Fããã¯æåã®è²ãå¤ããããªãã¦ç°¡åãªè¦æ±ãã¤ãããããã ãã§ã¨ããã«ã°ã¼ã°ã«å
çã¯æ²é»ãã¦ãã¾ãã¾ãã
ããããªã¨ãã¯èªåã§ä½ããããªãã®ã§ããDo it yourself!!ã¨ããããã§ã½ã¼ã¹ã³ã¼ãå
¬éã§ããåºæ¬ã³ãããã¦åçï¼Runï¼ããã°åç»ã表示ããã¾ããã«ã¦ã³ããã¦ã³çµãã£ãå¾ã¹ãã¼ã¹ãã¿ã³æ¼ãã°ãã½ã¼ã¹ã³ã¼ãä¿åãããã©ã«ãã®ä¸ã«åç»ãå
¥ã£ã¦ããã¨ãã親åä»æ§ããã¨ã¯ã好ããªåç»ç·¨éã½ããã§åãè¾¼ãã§ç
®ããªãç¼ããªã好ãã«ããã°è¯ãã¨æãã¾ãã
ãcont = 255;
ã£ã¦ã¨ãã®æ°åãå¤ããã°å¥½ããªæ°åããã«ã¦ã³ããã¦ã³å§ããã¾ããã¼ãä»ãæ°åè²ã
ãããã¨ãããããããªãããªãå®å®ã®æ³åã¨ãï¼ï¼
/** * Countdown(Hex) * */ import processing.video.*; MovieMaker mm; PFont font; String tx; String tx2; int cont; void setup(){ size(1200, 480); mm = new MovieMaker(this, 1200, 480, "Countdown.mov", 1, MovieMaker.VIDEO, MovieMaker.LOSSLESS); frameRate(1); background(0); smooth(); textSize(400); cont = 255; } void draw(){ background(0); tx2 = "0x"; tx = hex(cont, 2); if(cont < 16){ fill(255, 0, 0); } text(tx2+tx,50,400); if(cont > 0){ cont -= 1; } mm.addFrame(); } void keyPressed() { if (key == ' ') { mm.finish(); println("save movie."); exit(); } }
å®æä¾
ããããªæãããããããã©ããããï¼ç§ã¯16é²æ°ã®ã«ã¦ã³ããã¦ã³ã®ç´ æã欲ããã ããªã®ï¼ã¨ããå¥ç¹ãªæ¹ã¯ï¼ããã®ãï¼ï¼åç»ããã¦ã³ãã¼ããã¦ããã£ã¦ãããã§ããã¢ããã±ãããã¼ã
16é²æ°ã«ã¦ã³ããã¦ã³åç»
ãæ°ãåããããã¨2åãããããã¾ãããããã©ãããã£ãã®ã§ä»åãæçµåãããã§ã¯ã§ã¯ãã¤ãã£