HTML5ã®ç®çæ©è½(?)ãcanvasè¦ç´ ã¨Javascriptã§ãããããµã³ãã«ä½æä¸ãç»é¢ããã¦ã¹ã¯ãªãã¯ã§ãã¼ãã£ã¯ã«ãå¸çãããã 追è¨ï¼ã¡ãã£ã¨ä¿®æ£ (19:30) Javascriptã®ã½ã¼ã¹ã¯ãããªæãã [sourcecode language=âjavascriptâ] const NUM = 500; //åã®æ° const WIDTH = 400; //ç»é¢ã®å¹ const HEIGHT = 400; //ç»é¢ã®é«ã var speedX = new Array(NUM); //Xæ¹åã®ã¹ãã¼ãã®é å var speedY = new Array(NUM); //Yæ¹åã®ã¹ãã¼ãã®é å var locX = new Array(NUM); //åã®ä¸å¿ä½ç½®ã®X座æ¨ã®é å var locY = new Array(NUM); //åã®ä¸å¿ä½ç½®ã®Y座æ¨ã®é å var r
{{#tags}}- {{label}}
{{/tags}}