void setup(){ size(400, 400); //ã¦ã£ã³ãã¦ã®ãµã¤ãºã決å®ï¼æ¨ªå¹ ãç¸¦å¹ ï¼ colorMode(RGB,255); //ã«ã©ã¼ã¢ã¼ããè¨å®ï¼ã¢ã¼ããæ大å¤ï¼ background(255,255,255); //èæ¯ã®è²ãæå®ï¼R,G,Bï¼ãã®å ´åã¯ç½ frameRate(30); //ãã¬ã¼ã ã¬ã¼ããè¨å®(fps:frame per seconds) } void draw(){ stroke(0,random(255),random(255),50); line(random(width),random(height),random(width),random(height)); } [ã¢ãã¡ã¼ã·ã§ã³ã®åºæ¬] Processingã§ã¯ãã¡ã¤ã³ã«ã¼ãé¢æ°ï¼drawé¢æ°ï¼å ã«æ¸ãããå½ä»¤ãç¹°ãè¿ãå®è¡ãããã¨ã«ãã£ã¦åçãªæç»ãè¡ãã¾ãã ãµã³ãã«ã§ã¯ãã©ã³ãã
{{#tags}}- {{label}}
{{/tags}}